Instructions to use HoaAn2003/command_ner_distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HoaAn2003/command_ner_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="HoaAn2003/command_ner_distilbert")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("HoaAn2003/command_ner_distilbert") model = AutoModelForTokenClassification.from_pretrained("HoaAn2003/command_ner_distilbert") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("HoaAn2003/command_ner_distilbert")
model = AutoModelForTokenClassification.from_pretrained("HoaAn2003/command_ner_distilbert")Quick Links
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="HoaAn2003/command_ner_distilbert")