Instructions to use AdapterHub/roberta-base-pf-conll2003 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use AdapterHub/roberta-base-pf-conll2003 with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("AdapterHub/roberta-base-pf-conll2003", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download head_config.json from AdapterHub/roberta-base-pf-conll2003: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/AdapterHub/roberta-base-pf-conll2003/resolve/main/head_config.json
- Command line
-
hf download hf://AdapterHub/roberta-base-pf-conll2003/head_config.json
-
curl -L -o head_config.json https://huggingface.co/AdapterHub/roberta-base-pf-conll2003/resolve/main/head_config.json
451 Bytes
| { | |
| "config": { | |
| "activation_function": "tanh", | |
| "head_type": "tagging", | |
| "label2id": { | |
| "O": 0, | |
| "B-PER": 1, | |
| "I-PER": 2, | |
| "B-ORG": 3, | |
| "I-ORG": 4, | |
| "B-LOC": 5, | |
| "I-LOC": 6, | |
| "B-MISC": 7, | |
| "I-MISC": 8 | |
| }, | |
| "layers": 1, | |
| "num_labels": 9 | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "RobertaModelWithHeads", | |
| "model_name": "roberta-base", | |
| "model_type": "roberta", | |
| "name": "conll2003" | |
| } |