Instructions to use AdapterHub/bert-base-uncased-pf-newsqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/bert-base-uncased-pf-newsqa with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("bert-base-uncased") model.load_adapter("AdapterHub/bert-base-uncased-pf-newsqa", set_active=True) - Notebooks
- Google Colab
- Kaggle
File size: 338 Bytes
b75c5dc | 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": "BertModelWithHeads",
"model_name": "bert-base-uncased",
"model_type": "bert",
"name": "newsqa"
} |