Update config.json
Browse files- config.json +15 -6
config.json
CHANGED
@@ -1,23 +1,32 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"RobertaForSequenceClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 1024,
|
|
|
|
|
|
|
|
|
|
|
10 |
"initializer_range": 0.02,
|
11 |
"intermediate_size": 4096,
|
|
|
|
|
|
|
|
|
|
|
12 |
"layer_norm_eps": 1e-05,
|
13 |
"max_position_embeddings": 514,
|
|
|
14 |
"num_attention_heads": 16,
|
15 |
"num_hidden_layers": 24,
|
16 |
-
"
|
17 |
-
"output_attentions": false,
|
18 |
-
"output_hidden_states": false,
|
19 |
-
"pruned_heads": {},
|
20 |
-
"torchscript": false,
|
21 |
"type_vocab_size": 1,
|
22 |
"vocab_size": 50265
|
23 |
}
|
|
|
1 |
{
|
2 |
+
"_num_labels": 3,
|
3 |
"architectures": [
|
4 |
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2"
|
16 |
+
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 4096,
|
19 |
+
"label2id": {
|
20 |
+
"LABEL_0": 0,
|
21 |
+
"LABEL_1": 1,
|
22 |
+
"LABEL_2": 2
|
23 |
+
},
|
24 |
"layer_norm_eps": 1e-05,
|
25 |
"max_position_embeddings": 514,
|
26 |
+
"model_type": "roberta",
|
27 |
"num_attention_heads": 16,
|
28 |
"num_hidden_layers": 24,
|
29 |
+
"pad_token_id": 1,
|
|
|
|
|
|
|
|
|
30 |
"type_vocab_size": 1,
|
31 |
"vocab_size": 50265
|
32 |
}
|