giguru commited on
Commit
7205d0b
1 Parent(s): 24ccf83

Added "id2label" and "label2id"

Browse files
Files changed (1) hide show
  1. config.json +15 -1
config.json CHANGED
@@ -17,5 +17,19 @@
17
  "pruned_heads": {},
18
  "torchscript": false,
19
  "type_vocab_size": 2,
20
- "vocab_size": 30522
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
 
17
  "pruned_heads": {},
18
  "torchscript": false,
19
  "type_vocab_size": 2,
20
+ "vocab_size": 30522,
21
+ "id2label": {
22
+ "0": "[PAD]",
23
+ "1": "O",
24
+ "2": "REL",
25
+ "3": "[CLS]",
26
+ "4": "[SEP]"
27
+ },
28
+ "label2id": {
29
+ "[PAD]": 0,
30
+ "O": 1,
31
+ "REL": 2,
32
+ "[CLS]": 3,
33
+ "[SEP]": 4
34
+ },
35
  }