Almira commited on
Commit
55bcd71
1 Parent(s): fcb7d52

add proper label names

Browse files
Files changed (1) hide show
  1. config.json +26 -26
config.json CHANGED
@@ -11,36 +11,36 @@
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5",
20
- "6": "LABEL_6",
21
- "7": "LABEL_7",
22
- "8": "LABEL_8",
23
- "9": "LABEL_9",
24
- "10": "LABEL_10",
25
- "11": "LABEL_11",
26
- "12": "LABEL_12"
27
  },
28
  "initializer_range": 0.02,
29
  "intermediate_size": 4096,
30
  "label2id": {
31
- "LABEL_0": 0,
32
- "LABEL_1": 1,
33
- "LABEL_10": 10,
34
- "LABEL_11": 11,
35
- "LABEL_12": 12,
36
- "LABEL_2": 2,
37
- "LABEL_3": 3,
38
- "LABEL_4": 4,
39
- "LABEL_5": 5,
40
- "LABEL_6": 6,
41
- "LABEL_7": 7,
42
- "LABEL_8": 8,
43
- "LABEL_9": 9
44
  },
45
  "layer_norm_eps": 1e-12,
46
  "max_position_embeddings": 512,
 
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 1024,
13
  "id2label": {
14
+ "-100": "O",
15
+ "1": "LOWER_O",
16
+ "2": "LOWER_PERIOD",
17
+ "3": "LOWER_COMMA",
18
+ "4": "LOWER_QUESTION",
19
+ "5": "UPPER_O",
20
+ "6": "UPPER_PERIOD",
21
+ "7": "UPPER_COMMA",
22
+ "8": "UPPER_QUESTION",
23
+ "9": "UPPER_TOTAL_O",
24
+ "10": "UPPER_TOTAL_PERIOD",
25
+ "11": "UPPER_TOTAL_COMMA",
26
+ "12": "UPPER_TOTAL_QUESTION"
27
  },
28
  "initializer_range": 0.02,
29
  "intermediate_size": 4096,
30
  "label2id": {
31
+ "LOWER_O": 1,
32
+ "LOWER_PERIOD": 2,
33
+ "LOWER_COMMA": 3,
34
+ "LOWER_QUESTION": 4,
35
+ "UPPER_O": 5,
36
+ "UPPER_PERIOD": 6,
37
+ "UPPER_COMMA": 7,
38
+ "UPPER_QUESTION": 8,
39
+ "UPPER_TOTAL_O": 9,
40
+ "UPPER_TOTAL_PERIOD": 10,
41
+ "UPPER_TOTAL_COMMA": 11,
42
+ "UPPER_TOTAL_QUESTION": 12,
43
+ "O": -100
44
  },
45
  "layer_norm_eps": 1e-12,
46
  "max_position_embeddings": 512,