change id2label
Browse files- config.json +5 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"_name_or_path": "/gemini/pretrain/bert-base-chinese",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
|
@@ -13,6 +14,10 @@
|
|
| 13 |
"0": "Negative",
|
| 14 |
"1": "Positive"
|
| 15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
"intermediate_size": 3072,
|
| 18 |
"layer_norm_eps": 1e-12,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_num_labels": 3,
|
| 3 |
"_name_or_path": "/gemini/pretrain/bert-base-chinese",
|
| 4 |
"architectures": [
|
| 5 |
"BertForSequenceClassification"
|
|
|
|
| 14 |
"0": "Negative",
|
| 15 |
"1": "Positive"
|
| 16 |
},
|
| 17 |
+
"label2id": {
|
| 18 |
+
"Negative": 0,
|
| 19 |
+
"Positive": 1
|
| 20 |
+
},
|
| 21 |
"initializer_range": 0.02,
|
| 22 |
"intermediate_size": 3072,
|
| 23 |
"layer_norm_eps": 1e-12,
|