Instructions to use pie/example-ner-spanclf-conll03 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pie/example-ner-spanclf-conll03 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pie/example-ner-spanclf-conll03", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download taskmodule_config.json from pie/example-ner-spanclf-conll03: direct link, hf CLI and curl.
- Browser
- Download file 384 Bytes
-
https://huggingface.co/pie/example-ner-spanclf-conll03/resolve/main/taskmodule_config.json
- Command line
-
hf download hf://pie/example-ner-spanclf-conll03/taskmodule_config.json
-
curl -L -o taskmodule_config.json https://huggingface.co/pie/example-ner-spanclf-conll03/resolve/main/taskmodule_config.json
384 Bytes
| {"tokenizer_name_or_path": "bert-base-uncased", "entity_annotation": "entities", "single_sentence": false, "sentence_annotation": "sentences", "padding": true, "truncation": false, "max_length": null, "pad_to_multiple_of": null, "label_pad_token_id": -100, "taskmodule_type": "TransformerSpanClassificationTaskModule", "label_to_id": {"O": 0, "MISC": 1, "ORG": 2, "PER": 3, "LOC": 4}} |