Update config.json
Browse files- config.json +65 -0
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"XLNetForMultipleChoice"
|
4 |
+
],
|
5 |
+
"attn_type": "bi",
|
6 |
+
"bi_data": false,
|
7 |
+
"bos_token_id": 1,
|
8 |
+
"clamp_len": -1,
|
9 |
+
"d_head": 64,
|
10 |
+
"d_inner": 3072,
|
11 |
+
"d_model": 768,
|
12 |
+
"do_sample": false,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"eos_token_ids": 0,
|
17 |
+
"ff_activation": "gelu",
|
18 |
+
"finetuning_task": "swag",
|
19 |
+
"id2label": {
|
20 |
+
"0": "LABEL_0",
|
21 |
+
"1": "LABEL_1"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"is_decoder": false,
|
25 |
+
"label2id": {
|
26 |
+
"LABEL_0": 0,
|
27 |
+
"LABEL_1": 1
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
+
"length_penalty": 1.0,
|
31 |
+
"max_length": 20,
|
32 |
+
"mem_len": null,
|
33 |
+
"model_type": "xlnet",
|
34 |
+
"n_head": 12,
|
35 |
+
"n_layer": 12,
|
36 |
+
"num_beams": 1,
|
37 |
+
"num_labels": 4,
|
38 |
+
"num_return_sequences": 1,
|
39 |
+
"output_attentions": false,
|
40 |
+
"output_hidden_states": false,
|
41 |
+
"output_past": true,
|
42 |
+
"pad_token_id": 5,
|
43 |
+
"pruned_heads": {},
|
44 |
+
"repetition_penalty": 1.0,
|
45 |
+
"reuse_len": null,
|
46 |
+
"same_length": false,
|
47 |
+
"start_n_top": 5,
|
48 |
+
"summary_activation": "tanh",
|
49 |
+
"summary_last_dropout": 0.1,
|
50 |
+
"summary_type": "last",
|
51 |
+
"summary_use_proj": true,
|
52 |
+
"task_specific_params": {
|
53 |
+
"text-generation": {
|
54 |
+
"do_sample": true,
|
55 |
+
"max_length": 250
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"temperature": 1.0,
|
59 |
+
"top_k": 50,
|
60 |
+
"top_p": 1.0,
|
61 |
+
"torchscript": false,
|
62 |
+
"untie_r": true,
|
63 |
+
"use_bfloat16": false,
|
64 |
+
"vocab_size": 32000
|
65 |
+
}
|