Instructions to use AdapterHub/roberta-base-pf-multirc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/roberta-base-pf-multirc with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("AdapterHub/roberta-base-pf-multirc", set_active=True) - Notebooks
- Google Colab
- Kaggle
Fix label2id mapping.
Browse files- head_config.json +2 -2
head_config.json
CHANGED
|
@@ -4,8 +4,8 @@
|
|
| 4 |
"bias": true,
|
| 5 |
"head_type": "classification",
|
| 6 |
"label2id": {
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
},
|
| 10 |
"layers": 2,
|
| 11 |
"num_labels": 2,
|
|
|
|
| 4 |
"bias": true,
|
| 5 |
"head_type": "classification",
|
| 6 |
"label2id": {
|
| 7 |
+
"False": 0,
|
| 8 |
+
"True": 1
|
| 9 |
},
|
| 10 |
"layers": 2,
|
| 11 |
"num_labels": 2,
|