Instructions to use ghaith1997/butler-annotations with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ghaith1997/butler-annotations with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ghaith1997/butler-annotations")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("ghaith1997/butler-annotations") model = AutoModelForTokenClassification.from_pretrained("ghaith1997/butler-annotations", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("ghaith1997/butler-annotations")
model = AutoModelForTokenClassification.from_pretrained("ghaith1997/butler-annotations", device_map="auto")Quick Links
No model card
- Downloads last month
- 7
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ghaith1997/butler-annotations")