Views
No views yet
distilbert-base-uncased model that classifies short user utterances into one of 7 customer‑support 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 |
1from transformers import pipeline
2
3intent_router = pipeline(
4 "text-classification",
5 model="YOUR_USERNAME/snips-intent-router",
6 tokenizer="YOUR_USERNAME/snips-intent-router",
7)
8
9# Example
10result = intent_router("Book me a table for two at an Italian restaurant tonight")
11print(result)
12# → [{'label':'BookRestaurant','score':0.99}]