Sreevishnu lewtun HF staff commited on
Commit
70152e0
1 Parent(s): d0fa5eb

Align label mapping with imdb dataset (#1)

Browse files

- Align label mapping with imdb dataset (08314bc51a6f9997f49eea259d4dcd7aa867e3be)


Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +10 -2
config.json CHANGED
@@ -37,5 +37,13 @@
37
  "transformers_version": "4.19.1",
38
  "truncate_seq": true,
39
  "type_vocab_size": 3,
40
- "vocab_size": 30522
41
- }
 
 
 
 
 
 
 
 
 
37
  "transformers_version": "4.19.1",
38
  "truncate_seq": true,
39
  "type_vocab_size": 3,
40
+ "vocab_size": 30522,
41
+ "label2id": {
42
+ "neg": 0,
43
+ "pos": 1
44
+ },
45
+ "id2label": {
46
+ "0": "neg",
47
+ "1": "pos"
48
+ }
49
+ }