add num labels and id2label
Browse files- config.json +5 -0
config.json
CHANGED
|
@@ -17,6 +17,11 @@
|
|
| 17 |
"model_type": "roberta",
|
| 18 |
"num_attention_heads": 12,
|
| 19 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"position_embedding_type": "absolute",
|
| 22 |
"problem_type": "single_label_classification",
|
|
|
|
| 17 |
"model_type": "roberta",
|
| 18 |
"num_attention_heads": 12,
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
+
"num_labels": 2,
|
| 21 |
+
"id2label":{
|
| 22 |
+
"0": "negative",
|
| 23 |
+
"1": "positive"
|
| 24 |
+
},
|
| 25 |
"pad_token_id": 1,
|
| 26 |
"position_embedding_type": "absolute",
|
| 27 |
"problem_type": "single_label_classification",
|