ana-grassmann commited on
Commit
12d5eeb
·
verified ·
1 Parent(s): 27ffb08

Update adapter_config.json

Browse files

Trying to add label to id conversion on adapter to use on pipeline

Files changed (1) hide show
  1. adapter_config.json +9 -1
adapter_config.json CHANGED
@@ -46,5 +46,13 @@
46
  ],
47
  "task_type": "SEQ_CLS",
48
  "use_dora": false,
49
- "use_rslora": false
 
 
 
 
 
 
 
 
50
  }
 
46
  ],
47
  "task_type": "SEQ_CLS",
48
  "use_dora": false,
49
+ "use_rslora": false,
50
+ "id2label": {
51
+ "0": "HAM",
52
+ "1": "SPAM"
53
+ },
54
+ "label2id": {
55
+ "HAM": 0,
56
+ "SPAM": 1
57
+ },
58
  }