Instructions to use sgugger/test-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sgugger/test-ner with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="sgugger/test-ner")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("sgugger/test-ner") model = AutoModelForTokenClassification.from_pretrained("sgugger/test-ner", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.c0cef47
-
Training in progress, step 5000
f339bcc -
Training in progress, step 4500
c217a09 -
Training in progress, step 4000
7a7edf7 -
Training in progress, step 3500
c4d9e05 -
Training in progress, step 3000
da2ddb1 -
Training in progress, step 2500
f5c3727 -
Training in progress, step 2000
e76c99c -
Training in progress, step 1500
025e688 -
Training in progress, step 1000
90355fd -
Training in progress, step 500
73be1ff -
initial commit
5413b47