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