chefkoch24 commited on
Commit
152281f
1 Parent(s): 128b93b

Upload BertForTokenClassification

Browse files
Files changed (1) hide show
  1. 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": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6"
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
  "label2id": {
23
- "LABEL_0": 0,
24
- "LABEL_1": 1,
25
- "LABEL_2": 2,
26
- "LABEL_3": 3,
27
- "LABEL_4": 4,
28
- "LABEL_5": 5,
29
- "LABEL_6": 6
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,