NikitaMartynov
commited on
Commit
•
8ea0c2f
1
Parent(s):
cb275d8
model load
Browse files- config.json +37 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +109 -0
- tokenizer_config.json +116 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "pretrain_checkpoints/model-epoch_6-step_220398-udata_loss_0.0896958740234375-wiki_loss_0.140931982421875/",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"M2M100ForConditionalGeneration"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.1,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"d_model": 1024,
|
11 |
+
"decoder_attention_heads": 16,
|
12 |
+
"decoder_ffn_dim": 8192,
|
13 |
+
"decoder_layerdrop": 0.05,
|
14 |
+
"decoder_layers": 24,
|
15 |
+
"decoder_start_token_id": 2,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"early_stopping": true,
|
18 |
+
"encoder_attention_heads": 16,
|
19 |
+
"encoder_ffn_dim": 8192,
|
20 |
+
"encoder_layerdrop": 0.05,
|
21 |
+
"encoder_layers": 24,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"gradient_checkpointing": false,
|
24 |
+
"init_std": 0.02,
|
25 |
+
"is_encoder_decoder": true,
|
26 |
+
"max_length": 200,
|
27 |
+
"max_position_embeddings": 1024,
|
28 |
+
"model_type": "m2m_100",
|
29 |
+
"num_beams": 5,
|
30 |
+
"num_hidden_layers": 24,
|
31 |
+
"pad_token_id": 1,
|
32 |
+
"scale_embedding": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.22.0",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 14341
|
37 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73d79db2c47023c46cfb9d3ffbff3d4ab6a7702b66d2bf86ae8a27359bfe5ee2
|
3 |
+
size 4492237212
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a77a36a69264ddc9bd07a92f53d7cb57e705cb1e5c676fe44c864077dec522ff
|
3 |
+
size 488811
|
special_tokens_map.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"__af__",
|
4 |
+
"__am__",
|
5 |
+
"__ar__",
|
6 |
+
"__ast__",
|
7 |
+
"__az__",
|
8 |
+
"__ba__",
|
9 |
+
"__be__",
|
10 |
+
"__bg__",
|
11 |
+
"__bn__",
|
12 |
+
"__br__",
|
13 |
+
"__bs__",
|
14 |
+
"__ca__",
|
15 |
+
"__ceb__",
|
16 |
+
"__cs__",
|
17 |
+
"__cy__",
|
18 |
+
"__da__",
|
19 |
+
"__de__",
|
20 |
+
"__el__",
|
21 |
+
"__en__",
|
22 |
+
"__es__",
|
23 |
+
"__et__",
|
24 |
+
"__fa__",
|
25 |
+
"__ff__",
|
26 |
+
"__fi__",
|
27 |
+
"__fr__",
|
28 |
+
"__fy__",
|
29 |
+
"__ga__",
|
30 |
+
"__gd__",
|
31 |
+
"__gl__",
|
32 |
+
"__gu__",
|
33 |
+
"__ha__",
|
34 |
+
"__he__",
|
35 |
+
"__hi__",
|
36 |
+
"__hr__",
|
37 |
+
"__ht__",
|
38 |
+
"__hu__",
|
39 |
+
"__hy__",
|
40 |
+
"__id__",
|
41 |
+
"__ig__",
|
42 |
+
"__ilo__",
|
43 |
+
"__is__",
|
44 |
+
"__it__",
|
45 |
+
"__ja__",
|
46 |
+
"__jv__",
|
47 |
+
"__ka__",
|
48 |
+
"__kk__",
|
49 |
+
"__km__",
|
50 |
+
"__kn__",
|
51 |
+
"__ko__",
|
52 |
+
"__lb__",
|
53 |
+
"__lg__",
|
54 |
+
"__ln__",
|
55 |
+
"__lo__",
|
56 |
+
"__lt__",
|
57 |
+
"__lv__",
|
58 |
+
"__mg__",
|
59 |
+
"__mk__",
|
60 |
+
"__ml__",
|
61 |
+
"__mn__",
|
62 |
+
"__mr__",
|
63 |
+
"__ms__",
|
64 |
+
"__my__",
|
65 |
+
"__ne__",
|
66 |
+
"__nl__",
|
67 |
+
"__no__",
|
68 |
+
"__ns__",
|
69 |
+
"__oc__",
|
70 |
+
"__or__",
|
71 |
+
"__pa__",
|
72 |
+
"__pl__",
|
73 |
+
"__ps__",
|
74 |
+
"__pt__",
|
75 |
+
"__ro__",
|
76 |
+
"__ru__",
|
77 |
+
"__sd__",
|
78 |
+
"__si__",
|
79 |
+
"__sk__",
|
80 |
+
"__sl__",
|
81 |
+
"__so__",
|
82 |
+
"__sq__",
|
83 |
+
"__sr__",
|
84 |
+
"__ss__",
|
85 |
+
"__su__",
|
86 |
+
"__sv__",
|
87 |
+
"__sw__",
|
88 |
+
"__ta__",
|
89 |
+
"__th__",
|
90 |
+
"__tl__",
|
91 |
+
"__tn__",
|
92 |
+
"__tr__",
|
93 |
+
"__uk__",
|
94 |
+
"__ur__",
|
95 |
+
"__uz__",
|
96 |
+
"__vi__",
|
97 |
+
"__wo__",
|
98 |
+
"__xh__",
|
99 |
+
"__yi__",
|
100 |
+
"__yo__",
|
101 |
+
"__zh__",
|
102 |
+
"__zu__"
|
103 |
+
],
|
104 |
+
"bos_token": "<s>",
|
105 |
+
"eos_token": "</s>",
|
106 |
+
"pad_token": "<pad>",
|
107 |
+
"sep_token": "</s>",
|
108 |
+
"unk_token": "<unk>"
|
109 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"__af__",
|
4 |
+
"__am__",
|
5 |
+
"__ar__",
|
6 |
+
"__ast__",
|
7 |
+
"__az__",
|
8 |
+
"__ba__",
|
9 |
+
"__be__",
|
10 |
+
"__bg__",
|
11 |
+
"__bn__",
|
12 |
+
"__br__",
|
13 |
+
"__bs__",
|
14 |
+
"__ca__",
|
15 |
+
"__ceb__",
|
16 |
+
"__cs__",
|
17 |
+
"__cy__",
|
18 |
+
"__da__",
|
19 |
+
"__de__",
|
20 |
+
"__el__",
|
21 |
+
"__en__",
|
22 |
+
"__es__",
|
23 |
+
"__et__",
|
24 |
+
"__fa__",
|
25 |
+
"__ff__",
|
26 |
+
"__fi__",
|
27 |
+
"__fr__",
|
28 |
+
"__fy__",
|
29 |
+
"__ga__",
|
30 |
+
"__gd__",
|
31 |
+
"__gl__",
|
32 |
+
"__gu__",
|
33 |
+
"__ha__",
|
34 |
+
"__he__",
|
35 |
+
"__hi__",
|
36 |
+
"__hr__",
|
37 |
+
"__ht__",
|
38 |
+
"__hu__",
|
39 |
+
"__hy__",
|
40 |
+
"__id__",
|
41 |
+
"__ig__",
|
42 |
+
"__ilo__",
|
43 |
+
"__is__",
|
44 |
+
"__it__",
|
45 |
+
"__ja__",
|
46 |
+
"__jv__",
|
47 |
+
"__ka__",
|
48 |
+
"__kk__",
|
49 |
+
"__km__",
|
50 |
+
"__kn__",
|
51 |
+
"__ko__",
|
52 |
+
"__lb__",
|
53 |
+
"__lg__",
|
54 |
+
"__ln__",
|
55 |
+
"__lo__",
|
56 |
+
"__lt__",
|
57 |
+
"__lv__",
|
58 |
+
"__mg__",
|
59 |
+
"__mk__",
|
60 |
+
"__ml__",
|
61 |
+
"__mn__",
|
62 |
+
"__mr__",
|
63 |
+
"__ms__",
|
64 |
+
"__my__",
|
65 |
+
"__ne__",
|
66 |
+
"__nl__",
|
67 |
+
"__no__",
|
68 |
+
"__ns__",
|
69 |
+
"__oc__",
|
70 |
+
"__or__",
|
71 |
+
"__pa__",
|
72 |
+
"__pl__",
|
73 |
+
"__ps__",
|
74 |
+
"__pt__",
|
75 |
+
"__ro__",
|
76 |
+
"__ru__",
|
77 |
+
"__sd__",
|
78 |
+
"__si__",
|
79 |
+
"__sk__",
|
80 |
+
"__sl__",
|
81 |
+
"__so__",
|
82 |
+
"__sq__",
|
83 |
+
"__sr__",
|
84 |
+
"__ss__",
|
85 |
+
"__su__",
|
86 |
+
"__sv__",
|
87 |
+
"__sw__",
|
88 |
+
"__ta__",
|
89 |
+
"__th__",
|
90 |
+
"__tl__",
|
91 |
+
"__tn__",
|
92 |
+
"__tr__",
|
93 |
+
"__uk__",
|
94 |
+
"__ur__",
|
95 |
+
"__uz__",
|
96 |
+
"__vi__",
|
97 |
+
"__wo__",
|
98 |
+
"__xh__",
|
99 |
+
"__yi__",
|
100 |
+
"__yo__",
|
101 |
+
"__zh__",
|
102 |
+
"__zu__"
|
103 |
+
],
|
104 |
+
"bos_token": "<s>",
|
105 |
+
"eos_token": "</s>",
|
106 |
+
"extra_ids": 0,
|
107 |
+
"language_codes": "m2m100",
|
108 |
+
"num_madeup_words": 8,
|
109 |
+
"pad_token": "<pad>",
|
110 |
+
"sep_token": "</s>",
|
111 |
+
"sp_model_kwargs": {},
|
112 |
+
"src_lang": null,
|
113 |
+
"tgt_lang": null,
|
114 |
+
"tokenizer_class": "M2M100Tokenizer",
|
115 |
+
"unk_token": "<unk>"
|
116 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|