Commit
·
4ebcc2f
1
Parent(s):
b31836e
Update config.json
Browse files- config.json +11 -11
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "roberta-base",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
|
@@ -11,20 +11,20 @@
|
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"id2label": {
|
| 14 |
-
"0": "
|
| 15 |
-
"1": "
|
| 16 |
-
"2": "
|
| 17 |
-
"3": "
|
| 18 |
-
"4": "
|
| 19 |
},
|
| 20 |
"initializer_range": 0.02,
|
| 21 |
"intermediate_size": 3072,
|
| 22 |
"label2id": {
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
-
"
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
},
|
| 29 |
"layer_norm_eps": 1e-05,
|
| 30 |
"max_position_embeddings": 514,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "roberta-base",
|
| 3 |
"architectures": [
|
| 4 |
+
"XLMRobertaForSequenceClassification"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"bos_token_id": 0,
|
|
|
|
| 11 |
"hidden_dropout_prob": 0.1,
|
| 12 |
"hidden_size": 768,
|
| 13 |
"id2label": {
|
| 14 |
+
"0": "Positive",
|
| 15 |
+
"1": "Negative",
|
| 16 |
+
"2": "Litigious",
|
| 17 |
+
"3": "Constraining",
|
| 18 |
+
"4": "Uncertainty"
|
| 19 |
},
|
| 20 |
"initializer_range": 0.02,
|
| 21 |
"intermediate_size": 3072,
|
| 22 |
"label2id": {
|
| 23 |
+
"Positive": 0,
|
| 24 |
+
"Negative": 1,
|
| 25 |
+
"Litigious": 2,
|
| 26 |
+
"Constraining": 3,
|
| 27 |
+
"Uncertainty": 4
|
| 28 |
},
|
| 29 |
"layer_norm_eps": 1e-05,
|
| 30 |
"max_position_embeddings": 514,
|