add model configuration
Browse files- config.json +13 -0
config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"vocab_size": 17,
|
| 3 |
+
"pad_id": 14,
|
| 4 |
+
"bos_id": 13,
|
| 5 |
+
"eos_id": 15,
|
| 6 |
+
"max_seq_len": 128,
|
| 7 |
+
"d_model": 256,
|
| 8 |
+
"nhead": 4,
|
| 9 |
+
"num_encoder_layers": 2,
|
| 10 |
+
"num_decoder_layers": 2,
|
| 11 |
+
"dim_feedforward": 1024,
|
| 12 |
+
"dropout": 0.0
|
| 13 |
+
}
|