File size: 1,011 Bytes
b96bfbe
cf104a6
 
 
 
 
b96bfbe
 
cf104a6
b96bfbe
cf104a6
 
b96bfbe
cf104a6
b96bfbe
cf104a6
 
 
 
 
b96bfbe
cf104a6
b96bfbe
cf104a6
b96bfbe
cf104a6
 
b96bfbe
cf104a6
 
b96bfbe
cf104a6
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
tags:
- nlp
- intent-classification
- transformers
- distilbert
---

# 📖 Intent Classification Model

This model is a **DistilBERT-based classifier** trained to recognize user intents for appointment booking scenarios.  
It can classify queries into multiple intent categories such as **booking, rescheduling, cancellations, and more**.

## 📌 Model Details

- **Model Type**: `DistilBERT`
- **Training Data**: 4K+ labeled appointment-related queries
- **Framework**: `Transformers (Hugging Face)`
- **Languages**: `English`
- **Dataset Format**: JSON

## 🛠️ How to Use

You can use this model directly with the **Transformers library**:

```python
from transformers import pipeline

model = "sonisatish119/PhysioMindAI-intent-classification-bert"  # Update with your repo name
classifier = pipeline("text-classification", model=model)

query = "Can I book an appointment for next Monday?"
prediction = classifier(query)
print(prediction)  # Output: [{'label': 'book_appointment', 'score': 0.98}]