gsarti commited on
Commit
e4f8f54
1 Parent(s): 4118f5b

Initial commit

Browse files
Files changed (6) hide show
  1. config.json +37 -0
  2. merges.txt +0 -0
  3. pytorch_model.bin +3 -0
  4. tokenizer_config.json +8 -0
  5. vocab-src.json +0 -0
  6. 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.1,
9
+ "d_model": 1024,
10
+ "dropout": 0.2,
11
+ "init_std": 0.02,
12
+ "max_position_embeddings": 1024,
13
+ "num_hidden_layers": 6,
14
+ "src_vocab_size": 31232,
15
+ "tgt_vocab_size": 31640,
16
+ "langs": [
17
+ "ru",
18
+ "en"
19
+ ],
20
+ "encoder_attention_heads": 16,
21
+ "encoder_ffn_dim": 8192,
22
+ "encoder_layerdrop": 0,
23
+ "encoder_layers": 6,
24
+ "decoder_attention_heads": 16,
25
+ "decoder_ffn_dim": 4096,
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:c94dd6e36aa6e6cbed31effd4c7134fa839b9ec68eeaa54460cdbf58c4e43de8
3
+ size 1668112133
tokenizer_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "langs": [
3
+ "ru",
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