Update config.json
Browse files- config.json +16 -4
config.json
CHANGED
@@ -6,19 +6,31 @@
|
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 0,
|
|
|
9 |
"d_model": 1024,
|
|
|
|
|
|
|
|
|
10 |
"decoder_start_token_id": 2,
|
11 |
"dropout": 0.1,
|
12 |
"embed_dim": 512,
|
13 |
"eos_token_id": 2,
|
14 |
-
"ffn_dim": 4096,
|
15 |
"forced_eos_token_id": 2,
|
|
|
|
|
|
|
|
|
|
|
16 |
"init_std": 0.02,
|
17 |
-
"
|
|
|
|
|
|
|
|
|
|
|
18 |
"max_position_embeddings": 2048,
|
19 |
"model_type": "opt",
|
20 |
-
"num_attention_heads": 16,
|
21 |
-
"num_layers": 24,
|
22 |
"pad_token_id": 1,
|
23 |
"scale_embedding": false,
|
24 |
"share_input_output_embed": true,
|
|
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": 0.0,
|
10 |
"d_model": 1024,
|
11 |
+
"decoder_attention_heads": 16,
|
12 |
+
"decoder_ffn_dim": 4096,
|
13 |
+
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 24,
|
15 |
"decoder_start_token_id": 2,
|
16 |
"dropout": 0.1,
|
17 |
"embed_dim": 512,
|
18 |
"eos_token_id": 2,
|
|
|
19 |
"forced_eos_token_id": 2,
|
20 |
+
"id2label": {
|
21 |
+
"0": "LABEL_0",
|
22 |
+
"1": "LABEL_1",
|
23 |
+
"2": "LABEL_2"
|
24 |
+
},
|
25 |
"init_std": 0.02,
|
26 |
+
"is_encoder_decoder": true,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_2": 2
|
31 |
+
},
|
32 |
"max_position_embeddings": 2048,
|
33 |
"model_type": "opt",
|
|
|
|
|
34 |
"pad_token_id": 1,
|
35 |
"scale_embedding": false,
|
36 |
"share_input_output_embed": true,
|