Instructions to use AdapterHub/narrativeqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/narrativeqa with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("facebook/bart-base") model.load_adapter("AdapterHub/narrativeqa", set_active=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "config": null, | |
| "hidden_size": 768, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2 | |
| }, | |
| "model_class": "BartForConditionalGeneration", | |
| "model_name": "facebook/bart-base", | |
| "model_type": "bart", | |
| "name": null, | |
| "num_labels": 3 | |
| } |