Downloads · 30 days
12
2% of all-time downloads
JJTsao/intent-classifier-distilbert-moviebot
intent-classifier-distilbert-moviebot is a text classification model from JJTsao. Use it when you need a label for a piece of text. The card lists the license as mit.
This model is a fine-tuned DistilBERT-based intent classifier for a conversational movie recommendation assistant. It classifies user queries into one of three intents:
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
511
Public
Parameters
67M
536 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned DistilBERT-based intent classifier for a conversational movie recommendation assistant. It classifies user queries into one of three intents:
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) |
from transformers import pipeline
classifier = pipeline("text-classification", model="your-username/intent-classifier-distilbert-moviebot")
query = "Can you suggest a good action movie?"
result = classifier(query, top_k=None)
print(result)