Instructions to use victim6543/nerx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use victim6543/nerx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="victim6543/nerx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("victim6543/nerx") model = AutoModelForTokenClassification.from_pretrained("victim6543/nerx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from victim6543/nerx: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/victim6543/nerx/resolve/main/config.json
- Command line
-
hf download hf://victim6543/nerx/config.json
-
curl -L -o config.json https://huggingface.co/victim6543/nerx/resolve/main/config.json
240 Bytes
| { | |
| "architectures": [ | |
| "BertForTokenClassification" | |
| ], | |
| "model_type": "bert", | |
| "id2label": { | |
| "0": "O", | |
| "1": "zq\"><img src=x onerror=\"window.__w=1\">" | |
| }, | |
| "label2id": { | |
| "O": 0, | |
| "zq\"><img src=x onerror=\"window.__w=1\">": 1 | |
| } | |
| } |