Views
No views yet
1from transformers import pipeline 2pipe = pipeline("text-classification", model="your-username/roberta-3class") 3pipe("The lecture was very engaging and clear!") 4# → [{'label': 'Positive', 'score': 0.97}]