Instructions to use AdapterHub/roberta-base-pf-drop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/roberta-base-pf-drop with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("AdapterHub/roberta-base-pf-drop", set_active=True) - Notebooks
- Google Colab
- Kaggle
File size: 337 Bytes
e6eac7d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"config": {
"activation_function": "tanh",
"head_type": "question_answering",
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layers": 1,
"num_labels": 2
},
"hidden_size": 768,
"model_class": "RobertaModelWithHeads",
"model_name": "roberta-base",
"model_type": "roberta",
"name": "drop"
} |