Instructions to use AdapterHub/roberta-base-qnli_pfeiffer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/roberta-base-qnli_pfeiffer with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("AdapterHub/roberta-base-qnli_pfeiffer", set_active=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "config": { | |
| "activation_function": "tanh", | |
| "bias": true, | |
| "dropout_prob": null, | |
| "head_type": "classification", | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "layers": 2, | |
| "num_labels": 2, | |
| "use_pooler": false | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "RobertaAdapterModel", | |
| "model_name": "roberta-base", | |
| "model_type": "roberta", | |
| "name": "qnli", | |
| "version": "0.2.0" | |
| } |