calpt commited on
Commit
95cb899
1 Parent(s): 240793b

Fix label2id mapping.

Browse files
Files changed (1) hide show
  1. head_config.json +12 -12
head_config.json CHANGED
@@ -3,29 +3,29 @@
3
  "activation_function": "tanh",
4
  "head_type": "tagging",
5
  "label2id": {
 
6
  "B-ADJP": 1,
7
- "B-ADVP": 3,
8
- "B-CONJP": 5,
9
- "B-INTJ": 7,
10
- "B-LST": 9,
11
- "B-NP": 11,
12
- "B-PP": 13,
13
- "B-PRT": 15,
14
- "B-SBAR": 17,
15
- "B-UCP": 19,
16
- "B-VP": 21,
17
  "I-ADJP": 2,
 
18
  "I-ADVP": 4,
 
19
  "I-CONJP": 6,
 
20
  "I-INTJ": 8,
 
21
  "I-LST": 10,
 
22
  "I-NP": 12,
 
23
  "I-PP": 14,
 
24
  "I-PRT": 16,
 
25
  "I-SBAR": 18,
 
26
  "I-UCP": 20,
27
- "I-VP": 22,
28
- "O": 0
29
  },
30
  "layers": 1,
31
  "num_labels": 23
 
3
  "activation_function": "tanh",
4
  "head_type": "tagging",
5
  "label2id": {
6
+ "O": 0,
7
  "B-ADJP": 1,
 
 
 
 
 
 
 
 
 
 
8
  "I-ADJP": 2,
9
+ "B-ADVP": 3,
10
  "I-ADVP": 4,
11
+ "B-CONJP": 5,
12
  "I-CONJP": 6,
13
+ "B-INTJ": 7,
14
  "I-INTJ": 8,
15
+ "B-LST": 9,
16
  "I-LST": 10,
17
+ "B-NP": 11,
18
  "I-NP": 12,
19
+ "B-PP": 13,
20
  "I-PP": 14,
21
+ "B-PRT": 15,
22
  "I-PRT": 16,
23
+ "B-SBAR": 17,
24
  "I-SBAR": 18,
25
+ "B-UCP": 19,
26
  "I-UCP": 20,
27
+ "B-VP": 21,
28
+ "I-VP": 22
29
  },
30
  "layers": 1,
31
  "num_labels": 23