Views
No views yet
generic – general small talk or casual movie mentionsrecommendation – requests for movie or TV suggestionsfactual – questions about movie facts, cast, streaming availability, etc.distilbert-base-uncased| Input | Predicted Intent |
|---|---|
| "Can you recommend a good horror movie?" | recommendation |
| "Who directed Parasite?" | factual |
| "Do you like sci-fi shows?" | generic |
| "Suggest restaurants in Rome?" | generic (OOD) |
1from transformers import pipeline
2
3classifier = pipeline("text-classification", model="your-username/intent-classifier-distilbert-moviebot")
4
5query = "Can you suggest a good action movie?"
6result = classifier(query, top_k=None)
7print(result)