Replaced "label_map" with "id2label" and "label2id"
Browse files- model_config.json +21 -1
model_config.json
CHANGED
@@ -1 +1,21 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bert_model": "bert-large-uncased",
|
3 |
+
"do_lower": true,
|
4 |
+
"max_seq_length": 300,
|
5 |
+
"num_labels": 5,
|
6 |
+
"id2label": {
|
7 |
+
"0": "[PAD]",
|
8 |
+
"1": "O",
|
9 |
+
"2": "REL",
|
10 |
+
"3": "[CLS]",
|
11 |
+
"4": "[SEP]"
|
12 |
+
},
|
13 |
+
"label2id": {
|
14 |
+
"[PAD]": 0,
|
15 |
+
"O": 1,
|
16 |
+
"REL": 2,
|
17 |
+
"[CLS]": 3,
|
18 |
+
"[SEP]": 4
|
19 |
+
},
|
20 |
+
"hidden_dropout_prob": 0.4
|
21 |
+
}
|