Uodate config.json
Browse files- config.json +20 -9
config.json
CHANGED
|
@@ -9,18 +9,30 @@
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
|
|
|
| 12 |
"id2label": {
|
| 13 |
-
"0": "
|
| 14 |
-
"1": "
|
| 15 |
-
"2": "
|
| 16 |
},
|
| 17 |
-
"initializer_range": 0.02,
|
| 18 |
-
"intermediate_size": 3072,
|
| 19 |
"label2id": {
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"layer_norm_eps": 1e-12,
|
| 25 |
"max_position_embeddings": 512,
|
| 26 |
"model_type": "bert",
|
|
@@ -28,7 +40,6 @@
|
|
| 28 |
"num_hidden_layers": 12,
|
| 29 |
"pad_token_id": 0,
|
| 30 |
"position_embedding_type": "absolute",
|
| 31 |
-
"problem_type": "single_label_classification",
|
| 32 |
"transformers_version": "4.57.3",
|
| 33 |
"type_vocab_size": 2,
|
| 34 |
"use_cache": true,
|
|
|
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.1,
|
| 11 |
"hidden_size": 768,
|
| 12 |
+
|
| 13 |
"id2label": {
|
| 14 |
+
"0": "Neutral",
|
| 15 |
+
"1": "Positive",
|
| 16 |
+
"2": "Negative"
|
| 17 |
},
|
|
|
|
|
|
|
| 18 |
"label2id": {
|
| 19 |
+
"Neutral": 0,
|
| 20 |
+
"Positive": 1,
|
| 21 |
+
"Negative": 2
|
| 22 |
+
},
|
| 23 |
+
|
| 24 |
+
"problem_type": "single_label_classification",
|
| 25 |
+
|
| 26 |
+
"task_specific_params": {
|
| 27 |
+
"text-classification": {
|
| 28 |
+
"max_length": 256,
|
| 29 |
+
"truncation": true
|
| 30 |
+
}
|
| 31 |
},
|
| 32 |
+
"pipeline_tag": "text-classification",
|
| 33 |
+
|
| 34 |
+
"initializer_range": 0.02,
|
| 35 |
+
"intermediate_size": 3072,
|
| 36 |
"layer_norm_eps": 1e-12,
|
| 37 |
"max_position_embeddings": 512,
|
| 38 |
"model_type": "bert",
|
|
|
|
| 40 |
"num_hidden_layers": 12,
|
| 41 |
"pad_token_id": 0,
|
| 42 |
"position_embedding_type": "absolute",
|
|
|
|
| 43 |
"transformers_version": "4.57.3",
|
| 44 |
"type_vocab_size": 2,
|
| 45 |
"use_cache": true,
|