Views
No views yet
User Query
│
▼
Intent Classifier
│
├── Business
│ └── RAG Pipeline
│
├── Greeting
│ └── Greeting Response
│
├── SmallTalk
│ └── Small Talk Response
│
├── Complaint
│ └── Complaint Workflow
│
├── Feedback
│ └── Feedback Workflow
│
├── Thanks
│ └── Thank You Response
│
├── Goodbye
│ └── Goodbye Response
│
└── OutOfDomain
└── Reject Politely1from transformers import pipeline
2
3classifier = pipeline(
4 "text-classification",
5 model="yogeshpandey586/chatbot-intent-classifier"
6)
7
8print(classifier("Hello"))
9print(classifier("What services do you provide?"))
10print(classifier("Tell me a joke"))1[
2 {
3 "label": "Greeting",
4 "score": 0.998
5 }
6]| Query | Intent |
|---|---|
| Hello | Greeting |
| Hi | Greeting |
| Good Morning | Greeting |
| What services do you provide? | Business |
| How can I reset my password? | Business |
| Tell me a joke | SmallTalk |
| Thanks | Thanks |
| Bye | Goodbye |
| I have feedback | Feedback |
| Your service is bad | Complaint |
| Who won yesterday's IPL match? | OutOfDomain |
User Query
│
▼
ModernBERT Intent Classifier
│
▼
Intent Router
│
├── Business → RAG
├── Greeting → Greeting Service
├── SmallTalk → Small Talk Service
├── Complaint → Complaint Service
├── Feedback → Feedback Service
├── Thanks → Thank You Service
├── Goodbye → Goodbye Service
└── OutOfDomain → Reject Response| Property | Value |
|---|---|
| Architecture | ModernBERT |
| Base Model | answerdotai/ModernBERT-base |
| Framework | Transformers |
| Task | Sequence Classification |
| Language | English |
| Deployment | CPU / GPU |
1@misc{yogeshpandey2026intentclassifier,
2 title={ModernBERT Chatbot Intent Classifier},
3 author={Yogesh Pandey},
4 year={2026},
5 publisher={Hugging Face}
6}