Update config.json
Browse files- config.json +66 -0
config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"XLMModel"
|
4 |
+
],
|
5 |
+
"asm": false,
|
6 |
+
"attention_dropout": 0.1,
|
7 |
+
"bos_index": 0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"causal": false,
|
10 |
+
"do_sample": false,
|
11 |
+
"dropout": 0.1,
|
12 |
+
"emb_dim": 512,
|
13 |
+
"embed_init_std": 0.02209708691207961,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_index": 1,
|
16 |
+
"eos_token_ids": 0,
|
17 |
+
"finetuning_task": null,
|
18 |
+
"gelu_activation": true,
|
19 |
+
"id2label": {
|
20 |
+
"0": "LABEL_0",
|
21 |
+
"1": "LABEL_1"
|
22 |
+
},
|
23 |
+
"init_std": 0.02,
|
24 |
+
"is_decoder": false,
|
25 |
+
"is_encoder": true,
|
26 |
+
"label2id": {
|
27 |
+
"LABEL_0": 0,
|
28 |
+
"LABEL_1": 1
|
29 |
+
},
|
30 |
+
"lang_id": 0,
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"length_penalty": 1.0,
|
33 |
+
"mask_index": 5,
|
34 |
+
"mask_token_id": 0,
|
35 |
+
"max_length": 20,
|
36 |
+
"max_position_embeddings": 512,
|
37 |
+
"model_type": "xlm",
|
38 |
+
"n_heads": 16,
|
39 |
+
"n_langs": 1,
|
40 |
+
"n_layers": 8,
|
41 |
+
"num_beams": 1,
|
42 |
+
"num_labels": 2,
|
43 |
+
"num_return_sequences": 1,
|
44 |
+
"output_attentions": false,
|
45 |
+
"output_hidden_states": false,
|
46 |
+
"output_past": true,
|
47 |
+
"pad_index": 2,
|
48 |
+
"pad_token_id": 0,
|
49 |
+
"pruned_heads": {},
|
50 |
+
"repetition_penalty": 1.0,
|
51 |
+
"sinusoidal_embeddings": false,
|
52 |
+
"start_n_top": 5,
|
53 |
+
"summary_activation": null,
|
54 |
+
"summary_first_dropout": 0.1,
|
55 |
+
"summary_proj_to_labels": true,
|
56 |
+
"summary_type": "first",
|
57 |
+
"summary_use_proj": true,
|
58 |
+
"temperature": 1.0,
|
59 |
+
"top_k": 50,
|
60 |
+
"top_p": 1.0,
|
61 |
+
"torchscript": false,
|
62 |
+
"unk_index": 3,
|
63 |
+
"use_bfloat16": false,
|
64 |
+
"use_lang_emb": true,
|
65 |
+
"vocab_size": 30058
|
66 |
+
}
|