leondz/wnut_17
Updated • 4.57k • 19
How to use lathashree01/my_awesome_wnut_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="lathashree01/my_awesome_wnut_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("lathashree01/my_awesome_wnut_model")
model = AutoModelForTokenClassification.from_pretrained("lathashree01/my_awesome_wnut_model")