calpt commited on
Commit
1fbaaa5
1 Parent(s): 56faede

Fix label2id mapping.

Browse files
Files changed (1) hide show
  1. head_config.json +13 -13
head_config.json CHANGED
@@ -3,24 +3,24 @@
3
  "activation_function": "tanh",
4
  "head_type": "tagging",
5
  "label2id": {
6
- "ADJ": 6,
7
- "ADP": 2,
8
- "ADV": 14,
9
- "AUX": 17,
10
- "CCONJ": 9,
11
- "DET": 8,
12
- "INTJ": 15,
13
  "NOUN": 0,
 
 
14
  "NUM": 3,
 
 
 
15
  "PART": 7,
16
- "PRON": 11,
 
17
  "PROPN": 10,
18
- "PUNCT": 1,
19
- "SCONJ": 5,
20
- "SYM": 4,
21
- "VERB": 16,
22
  "X": 12,
23
- "_": 13
 
 
 
 
24
  },
25
  "layers": 1,
26
  "num_labels": 18
 
3
  "activation_function": "tanh",
4
  "head_type": "tagging",
5
  "label2id": {
 
 
 
 
 
 
 
6
  "NOUN": 0,
7
+ "PUNCT": 1,
8
+ "ADP": 2,
9
  "NUM": 3,
10
+ "SYM": 4,
11
+ "SCONJ": 5,
12
+ "ADJ": 6,
13
  "PART": 7,
14
+ "DET": 8,
15
+ "CCONJ": 9,
16
  "PROPN": 10,
17
+ "PRON": 11,
 
 
 
18
  "X": 12,
19
+ "_": 13,
20
+ "ADV": 14,
21
+ "INTJ": 15,
22
+ "VERB": 16,
23
+ "AUX": 17
24
  },
25
  "layers": 1,
26
  "num_labels": 18