mehrzad-shahin commited on
Commit
db884af
1 Parent(s): d6f39a4

Update label2id mappings

Browse files
Files changed (1) hide show
  1. config.json +26 -26
config.json CHANGED
@@ -8,35 +8,35 @@
8
  "dropout": 0.1,
9
  "hidden_dim": 3072,
10
  "id2label": {
11
- "0": "LABEL_0",
12
- "1": "LABEL_1",
13
- "2": "LABEL_2",
14
- "3": "LABEL_3",
15
- "4": "LABEL_4",
16
- "5": "LABEL_5",
17
- "6": "LABEL_6",
18
- "7": "LABEL_7",
19
- "8": "LABEL_8",
20
- "9": "LABEL_9",
21
- "10": "LABEL_10",
22
- "11": "LABEL_11",
23
- "12": "LABEL_12"
24
  },
25
  "initializer_range": 0.02,
26
  "label2id": {
27
- "LABEL_0": 0,
28
- "LABEL_1": 1,
29
- "LABEL_10": 10,
30
- "LABEL_11": 11,
31
- "LABEL_12": 12,
32
- "LABEL_2": 2,
33
- "LABEL_3": 3,
34
- "LABEL_4": 4,
35
- "LABEL_5": 5,
36
- "LABEL_6": 6,
37
- "LABEL_7": 7,
38
- "LABEL_8": 8,
39
- "LABEL_9": 9
40
  },
41
  "max_position_embeddings": 512,
42
  "model_type": "distilbert",
 
8
  "dropout": 0.1,
9
  "hidden_dim": 3072,
10
  "id2label": {
11
+ "0": "O",
12
+ "1": "B_quantity",
13
+ "2": "B_built_obj",
14
+ "3": "I_built_obj",
15
+ "4": "B_mep_obj",
16
+ "5": "I_mep_obj",
17
+ "6": "B_ordinal",
18
+ "7": "B_loc_level",
19
+ "8": "I_ordinal",
20
+ "9": "B_number",
21
+ "10": "B_loc_space",
22
+ "11": "I_loc_space",
23
+ "12": "B_name"
24
  },
25
  "initializer_range": 0.02,
26
  "label2id": {
27
+ "O": 0,
28
+ "B_quantity": 1,
29
+ "B_loc_space": 10,
30
+ "I_loc_space": 11,
31
+ "B_name": 12,
32
+ "B_built_obj": 2,
33
+ "I_built_obj": 3,
34
+ "B_mep_obj": 4,
35
+ "I_mep_obj": 5,
36
+ "B_ordinal": 6,
37
+ "B_loc_level": 7,
38
+ "I_ordinal": 8,
39
+ "B_number": 9
40
  },
41
  "max_position_embeddings": 512,
42
  "model_type": "distilbert",