ana-grassmann
commited on
Update adapter_config.json
Browse filesTrying to add label to id conversion on adapter to use on pipeline
- 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 |
}
|