Instructions to use AdapterHub/bert-base-uncased-pf-stsb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/bert-base-uncased-pf-stsb with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("bert-base-uncased") model.load_adapter("AdapterHub/bert-base-uncased-pf-stsb", set_active=True) - Notebooks
- Google Colab
- Kaggle
File size: 336 Bytes
87da833 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"config": {
"activation_function": "tanh",
"bias": true,
"head_type": "classification",
"label2id": {},
"layers": 2,
"num_labels": 1,
"use_pooler": false
},
"hidden_size": 768,
"model_class": "BertModelWithHeads",
"model_name": "bert-base-uncased",
"model_type": "bert",
"name": "glue_stsb"
} |