forked from huggingface/transformers.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "@xenova/transformers",
"version": "1.4.0",
"description": "Run 🤗 Transformers in your browser! We currently support BERT, ALBERT, DistilBERT, MobileBERT, SqueezeBERT, T5, T5v1.1, FLAN-T5, mT5, BART, MarianMT, GPT2, GPT Neo, CodeGen, Whisper, CLIP, Vision Transformer, VisionEncoderDecoder, and DETR models, for a variety of tasks including: masked language modelling, text classification, zero-shot classification, text-to-text generation, translation, summarization, question answering, text generation, automatic speech recognition, image classification, zero-shot image classification, image-to-text, and object detection.",
"main": "./src/transformers.js",
"directories": {
"test": "tests"
},
"scripts": {
"webpack": "webpack",
"typegen": "tsc ./src/transformers.js --outDir dist/types --allowJs --declaration --emitDeclarationOnly",
"dev": "webpack serve --no-client-overlay",
"test": "node tests/index.js",
"build": "npm run webpack && npm run typegen"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xenova/transformers.js.git"
},
"keywords": [
"transformers",
"javascript",
"browser",
"huggingface"
],
"author": "Xenova",
"license": "MIT",
"bugs": {
"url": "https://github.com/xenova/transformers.js/issues"
},
"homepage": "https://github.com/xenova/transformers.js#readme",
"dependencies": {
"jimp": "^0.22.7",
"onnxruntime-web": "^1.14.0"
},
"optionalDependencies": {
"onnxruntime-node": "^1.14.0"
},
"devDependencies": {
"copy-webpack-plugin": "^11.0.0",
"typescript": "^5.0.2",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"files": [
"src",
"dist",
"tests",
"README.md",
"LICENSE"
],
"browser": {
"fs": false,
"path": false
}
}