first commit
Browse files- config.json +37 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- tokenizer_config.json +8 -0
- vocab-src.json +0 -0
- vocab-tgt.json +0 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"FSMTForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"model_type": "fsmt",
|
6 |
+
"activation_dropout": 0.0,
|
7 |
+
"activation_function": "relu",
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"d_model": 512,
|
10 |
+
"dropout": 0.3,
|
11 |
+
"init_std": 0.02,
|
12 |
+
"max_position_embeddings": 1024,
|
13 |
+
"num_hidden_layers": 6,
|
14 |
+
"src_vocab_size": 36040,
|
15 |
+
"tgt_vocab_size": 26344,
|
16 |
+
"langs": [
|
17 |
+
"ro",
|
18 |
+
"en"
|
19 |
+
],
|
20 |
+
"encoder_attention_heads": 8,
|
21 |
+
"encoder_ffn_dim": 2048,
|
22 |
+
"encoder_layerdrop": 0,
|
23 |
+
"encoder_layers": 6,
|
24 |
+
"decoder_attention_heads": 8,
|
25 |
+
"decoder_ffn_dim": 2048,
|
26 |
+
"decoder_layerdrop": 0,
|
27 |
+
"decoder_layers": 6,
|
28 |
+
"bos_token_id": 0,
|
29 |
+
"pad_token_id": 1,
|
30 |
+
"eos_token_id": 2,
|
31 |
+
"is_encoder_decoder": true,
|
32 |
+
"scale_embedding": true,
|
33 |
+
"tie_word_embeddings": false,
|
34 |
+
"num_beams": 5,
|
35 |
+
"early_stopping": false,
|
36 |
+
"length_penalty": 1.0
|
37 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f8aef9f4b3d9db21178f1146a54192ba9e97001c33f5862743ca8dc18682afd
|
3 |
+
size 380022533
|
tokenizer_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"langs": [
|
3 |
+
"ro",
|
4 |
+
"en"
|
5 |
+
],
|
6 |
+
"model_max_length": 1024,
|
7 |
+
"do_lower_case": false
|
8 |
+
}
|
vocab-src.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
vocab-tgt.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|