Upload config.json
Browse files- config.json +80 -0
config.json
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlm-mlm-tlm-xnli15-1024",
|
3 |
+
"architectures": [
|
4 |
+
"XLMWithLMHeadModel"
|
5 |
+
],
|
6 |
+
"asm": false,
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_index": 0,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"causal": false,
|
11 |
+
"dropout": 0.1,
|
12 |
+
"emb_dim": 1024,
|
13 |
+
"embed_init_std": 0.02209708691207961,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_index": 1,
|
16 |
+
"gelu_activation": true,
|
17 |
+
"id2lang": {
|
18 |
+
"0": "ar",
|
19 |
+
"1": "bg",
|
20 |
+
"10": "th",
|
21 |
+
"11": "tr",
|
22 |
+
"12": "ur",
|
23 |
+
"13": "vi",
|
24 |
+
"14": "zh",
|
25 |
+
"2": "de",
|
26 |
+
"3": "el",
|
27 |
+
"4": "en",
|
28 |
+
"5": "es",
|
29 |
+
"6": "fr",
|
30 |
+
"7": "hi",
|
31 |
+
"8": "ru",
|
32 |
+
"9": "sw"
|
33 |
+
},
|
34 |
+
"init_std": 0.02,
|
35 |
+
"is_encoder": true,
|
36 |
+
"lang2id": {
|
37 |
+
"ar": 0,
|
38 |
+
"bg": 1,
|
39 |
+
"de": 2,
|
40 |
+
"el": 3,
|
41 |
+
"en": 4,
|
42 |
+
"es": 5,
|
43 |
+
"fr": 6,
|
44 |
+
"hi": 7,
|
45 |
+
"ru": 8,
|
46 |
+
"sw": 9,
|
47 |
+
"th": 10,
|
48 |
+
"tr": 11,
|
49 |
+
"ur": 12,
|
50 |
+
"vi": 13,
|
51 |
+
"zh": 14
|
52 |
+
},
|
53 |
+
"lang_id": 0,
|
54 |
+
"layer_norm_eps": 1e-12,
|
55 |
+
"mask_index": 5,
|
56 |
+
"mask_token_id": 0,
|
57 |
+
"max_position_embeddings": 512,
|
58 |
+
"max_vocab": 95000,
|
59 |
+
"min_count": 0,
|
60 |
+
"model_type": "xlm",
|
61 |
+
"n_heads": 8,
|
62 |
+
"n_langs": 15,
|
63 |
+
"n_layers": 12,
|
64 |
+
"pad_index": 2,
|
65 |
+
"pad_token_id": 2,
|
66 |
+
"same_enc_dec": true,
|
67 |
+
"share_inout_emb": true,
|
68 |
+
"sinusoidal_embeddings": false,
|
69 |
+
"start_n_top": 5,
|
70 |
+
"summary_activation": null,
|
71 |
+
"summary_first_dropout": 0.1,
|
72 |
+
"summary_proj_to_labels": true,
|
73 |
+
"summary_type": "first",
|
74 |
+
"summary_use_proj": true,
|
75 |
+
"torch_dtype": "float32",
|
76 |
+
"transformers_version": "4.20.1",
|
77 |
+
"unk_index": 3,
|
78 |
+
"use_lang_emb": true,
|
79 |
+
"vocab_size": 95000
|
80 |
+
}
|