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