Update config.json
Browse files- config.json +104 -0
config.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"amp": 1,
|
3 |
+
"architectures": [
|
4 |
+
"FlaubertModel"
|
5 |
+
],
|
6 |
+
"asm": false,
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"bos_index": 0,
|
9 |
+
"bos_token_id": null,
|
10 |
+
"bptt": 512,
|
11 |
+
"causal": false,
|
12 |
+
"clip_grad_norm": 5,
|
13 |
+
"do_sample": false,
|
14 |
+
"dropout": 0.1,
|
15 |
+
"emb_dim": 768,
|
16 |
+
"embed_init_std": 0.02209708691207961,
|
17 |
+
"encoder_only": true,
|
18 |
+
"end_n_top": 5,
|
19 |
+
"eos_index": 1,
|
20 |
+
"eos_token_ids": null,
|
21 |
+
"finetuning_task": null,
|
22 |
+
"fp16": true,
|
23 |
+
"gelu_activation": true,
|
24 |
+
"group_by_size": true,
|
25 |
+
"id2label": {
|
26 |
+
"0": "LABEL_0",
|
27 |
+
"1": "LABEL_1"
|
28 |
+
},
|
29 |
+
"id2lang": {
|
30 |
+
"0": "fr"
|
31 |
+
},
|
32 |
+
"init_std": 0.02,
|
33 |
+
"is_decoder": false,
|
34 |
+
"is_encoder": true,
|
35 |
+
"label2id": {
|
36 |
+
"LABEL_0": 0,
|
37 |
+
"LABEL_1": 1
|
38 |
+
},
|
39 |
+
"lang2id": {
|
40 |
+
"fr": 0
|
41 |
+
},
|
42 |
+
"lang_id": 0,
|
43 |
+
"langs": [
|
44 |
+
"fr"
|
45 |
+
],
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"layerdrop": 0.0,
|
48 |
+
"length_penalty": 1.0,
|
49 |
+
"lg_sampling_factor": -1,
|
50 |
+
"lgs": "fr",
|
51 |
+
"mask_index": 5,
|
52 |
+
"mask_token_id": 0,
|
53 |
+
"max_batch_size": 0,
|
54 |
+
"max_length": 20,
|
55 |
+
"max_position_embeddings": 512,
|
56 |
+
"max_vocab": -1,
|
57 |
+
"mlm_steps": [
|
58 |
+
[
|
59 |
+
"fr",
|
60 |
+
null
|
61 |
+
]
|
62 |
+
],
|
63 |
+
"model_type": "flaubert",
|
64 |
+
"n_heads": 12,
|
65 |
+
"n_langs": 1,
|
66 |
+
"n_layers": 12,
|
67 |
+
"num_beams": 1,
|
68 |
+
"num_labels": 2,
|
69 |
+
"num_return_sequences": 1,
|
70 |
+
"output_attentions": false,
|
71 |
+
"output_hidden_states": false,
|
72 |
+
"output_past": true,
|
73 |
+
"pad_index": 2,
|
74 |
+
"pad_token_id": null,
|
75 |
+
"pre_norm": false,
|
76 |
+
"pruned_heads": {},
|
77 |
+
"repetition_penalty": 1.0,
|
78 |
+
"sample_alpha": 0,
|
79 |
+
"share_inout_emb": true,
|
80 |
+
"sinusoidal_embeddings": false,
|
81 |
+
"start_n_top": 5,
|
82 |
+
"summary_activation": null,
|
83 |
+
"summary_first_dropout": 0.1,
|
84 |
+
"summary_proj_to_labels": true,
|
85 |
+
"summary_type": "first",
|
86 |
+
"summary_use_proj": true,
|
87 |
+
"temperature": 1.0,
|
88 |
+
"tokens_per_batch": -1,
|
89 |
+
"top_k": 50,
|
90 |
+
"top_p": 1.0,
|
91 |
+
"torchscript": false,
|
92 |
+
"unk_index": 3,
|
93 |
+
"use_bfloat16": false,
|
94 |
+
"use_lang_emb": true,
|
95 |
+
"vocab_size": 68729,
|
96 |
+
"word_blank": 0,
|
97 |
+
"word_dropout": 0,
|
98 |
+
"word_keep": 0.1,
|
99 |
+
"word_mask": 0.8,
|
100 |
+
"word_mask_keep_rand": "0.8,0.1,0.1",
|
101 |
+
"word_pred": 0.15,
|
102 |
+
"word_rand": 0.1,
|
103 |
+
"word_shuffle": 0
|
104 |
+
}
|