Update config.json
Browse files- config.json +3 -13
config.json
CHANGED
@@ -1,19 +1,9 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"train_trg_data": "./data/train.vi",
|
4 |
-
"valid_src_data": "./data/tst2013.en",
|
5 |
-
"valid_trg_data": "./data/tst2013.vi",
|
6 |
-
"src_lang": "en_core_web_sm",
|
7 |
-
"trg_lang": "vi_core_news_lg",
|
8 |
-
"max_strlen": 160,
|
9 |
-
"batchsize": 1500,
|
10 |
-
"device": "cuda",
|
11 |
"d_model": 512,
|
12 |
"n_layers": 6,
|
13 |
"heads": 8,
|
14 |
"dropout": 0.1,
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"printevery": 200,
|
18 |
-
"k": 5
|
19 |
}
|
|
|
1 |
{
|
2 |
+
"model_type": "transformer",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"d_model": 512,
|
4 |
"n_layers": 6,
|
5 |
"heads": 8,
|
6 |
"dropout": 0.1,
|
7 |
+
"vocab_size": 30522,
|
8 |
+
"max_length": 512
|
|
|
|
|
9 |
}
|