# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("rasgaard/squeezebert-newsgroups-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("rasgaard/squeezebert-newsgroups-finetuned")Quick Links
No model card
- Downloads last month
- 3
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rasgaard/squeezebert-newsgroups-finetuned")