Instructions to use AdapterHub/bert-base-uncased-pf-conll2003_pos 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_pos with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("bert-base-uncased") model.load_adapter("AdapterHub/bert-base-uncased-pf-conll2003_pos", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download head_config.json from AdapterHub/bert-base-uncased-pf-conll2003_pos: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/AdapterHub/bert-base-uncased-pf-conll2003_pos/resolve/main/head_config.json
- Command line
-
hf download hf://AdapterHub/bert-base-uncased-pf-conll2003_pos/head_config.json
-
curl -L -o head_config.json https://huggingface.co/AdapterHub/bert-base-uncased-pf-conll2003_pos/resolve/main/head_config.json
1.06 kB
| { | |
| "config": { | |
| "activation_function": "tanh", | |
| "head_type": "tagging", | |
| "label2id": { | |
| "\"": 0, | |
| "''": 1, | |
| "#": 2, | |
| "$": 3, | |
| "(": 4, | |
| ")": 5, | |
| ",": 6, | |
| ".": 7, | |
| ":": 8, | |
| "``": 9, | |
| "CC": 10, | |
| "CD": 11, | |
| "DT": 12, | |
| "EX": 13, | |
| "FW": 14, | |
| "IN": 15, | |
| "JJ": 16, | |
| "JJR": 17, | |
| "JJS": 18, | |
| "LS": 19, | |
| "MD": 20, | |
| "NN": 21, | |
| "NNP": 22, | |
| "NNPS": 23, | |
| "NNS": 24, | |
| "NN|SYM": 25, | |
| "PDT": 26, | |
| "POS": 27, | |
| "PRP": 28, | |
| "PRP$": 29, | |
| "RB": 30, | |
| "RBR": 31, | |
| "RBS": 32, | |
| "RP": 33, | |
| "SYM": 34, | |
| "TO": 35, | |
| "UH": 36, | |
| "VB": 37, | |
| "VBD": 38, | |
| "VBG": 39, | |
| "VBN": 40, | |
| "VBP": 41, | |
| "VBZ": 42, | |
| "WDT": 43, | |
| "WP": 44, | |
| "WP$": 45, | |
| "WRB": 46 | |
| }, | |
| "layers": 1, | |
| "num_labels": 47 | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "BertModelWithHeads", | |
| "model_name": "bert-base-uncased", | |
| "model_type": "bert", | |
| "name": "conll2003_pos" | |
| } |