This repository was archived by the owner on Jul 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.62 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.62 KB
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
{
"name": "ai_word_classification",
"version": "1.0.0",
"description": "an ai text classification trainer",
"main": "index.js",
"scripts": {
"load": "yarn install && node scripts/clone-build-fasttext.js",
"transform:json_txt": "node scripts/transform-json-to-txt-data.js",
"fasttext": "./fastTextRepository/fasttext",
"example:run": "yarn fasttext predict trained_models/example_model.bin -",
"example:test": "yarn fasttext test trained_models/example_model.bin training_data/txt/example.data.valid",
"example:train": "yarn fasttext supervised -input training_data/txt/example.data.train -output trained_models/example_model",
"example:train:manually": "node scripts/exmaple-training.js",
"experiment:experiment:1": "node scripts/experiments/experiment-1.js",
"experiment:experiment:2": "node scripts/experiments/experiment-2.js --expose-gc",
"experiment:experiment:2:forever": "forever start scripts/experiments/experiment-2.js --expose-gc",
"experiment:experiment:2:stop": "forever stopall",
"experiment:experiment:2:train": "yarn fasttext supervised -input scripts/experiments/outputs/stack_titles.txt -output trained_models/stack_model",
"experiment:experiment:2:run": "yarn fasttext predict trained_models/stack_model.bin -"
},
"author": "Benjamin Brachmann",
"license": "ISC",
"dependencies": {
"chalk": "^2.4.2",
"chance": "^1.1.3",
"cheerio": "^1.0.0-rc.3",
"fs-extra": "^8.1.0",
"inquirer": "^7.0.0",
"request": "^2.88.0",
"stream-json": "^1.3.1",
"zombie": "^6.1.4"
},
"devDependencies": {
"forever": "^1.0.0",
"nodemon": "^1.19.4"
}
}