Downloads · 30 days
0
GouthamML008/snips-intent-router
snips-intent-router is a text classification model from GouthamML008. Use it when you need a label for a piece of text. It is set up for transformers.
A fine‑tuned distilbert-base-uncased model that classifies short user utterances into one of 7 customer‑support intents.
Downloads · 30 days
0
Access
Public
Updated Jun 12, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json713 KB · 75%
From the Hugging Face model README
A fine‑tuned distilbert-base-uncased model that classifies short user utterances into one of 7 customer‑support intents.
This model was fine‑tuned on the SNIPS built‑in intents dataset for single‑label text classification. It takes a user query (e.g. “Book me a table for tonight”) and returns one of the predefined intents:
| Attribute | Value |
|---|---|
| Developed by | Goutham |
| Model type | DistilBERT (sequence classification) |
| Language(s) | English |
| License | apache-2.0 |
| Fine‑tuned from | distilbert-base-uncased |
| Dataset | SNIPS built‑in intents |
Route user requests in chatbots, voice assistants, or email triage systems into support categories for faster handling.
from transformers import pipeline
intent_router = pipeline(
"text-classification",
model="YOUR_USERNAME/snips-intent-router",
tokenizer="YOUR_USERNAME/snips-intent-router",
)
# Example
result = intent_router("Book me a table for two at an Italian restaurant tonight")
print(result)
# → [{'label':'BookRestaurant','score':0.99}]