chefkoch24
commited on
Commit
•
152281f
1
Parent(s):
128b93b
Upload BertForTokenClassification
Browse files- config.json +14 -14
config.json
CHANGED
@@ -9,24 +9,24 @@
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
-
"0": "
|
13 |
-
"1": "
|
14 |
-
"2": "
|
15 |
-
"3": "
|
16 |
-
"4": "
|
17 |
-
"5": "
|
18 |
-
"6": "
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
},
|
31 |
"layer_norm_eps": 1e-12,
|
32 |
"max_position_embeddings": 512,
|
|
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-INGREDIENT",
|
14 |
+
"2": "I-INGREDIENT",
|
15 |
+
"3": "B-UNIT",
|
16 |
+
"4": "I-UNIT",
|
17 |
+
"5": "B-QUANTITY",
|
18 |
+
"6": "I-QUANTITY"
|
19 |
},
|
20 |
"initializer_range": 0.02,
|
21 |
"intermediate_size": 3072,
|
22 |
"label2id": {
|
23 |
+
"B-INGREDIENT": 1,
|
24 |
+
"B-QUANTITY": 5,
|
25 |
+
"B-UNIT": 3,
|
26 |
+
"I-INGREDIENT": 2,
|
27 |
+
"I-QUANTITY": 6,
|
28 |
+
"I-UNIT": 4,
|
29 |
+
"O": 0
|
30 |
},
|
31 |
"layer_norm_eps": 1e-12,
|
32 |
"max_position_embeddings": 512,
|