File size: 1,536 Bytes
da7eab9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ๐Ÿค— IntentSnap-AI

IntentSnap-AI is a Hugging Faceโ€“powered **intent classification model** designed to understand what a user wants from natural language input.

It turns plain text into structured intents for use in chatbots, assistants, apps, and automation systems.

#### Author: Alex Manochio
---

## ๐Ÿซ About HouseLearning

This project is created and maintained by **HouseLearning**.

- ๐ŸŒ Website: https://www.houselearning.org
- ๐ŸŽ“ Mission: Building accessible, practical tools for learning computer science, AI, and software development.

IntentSnap-AI is part of HouseLearningโ€™s open-source efforts to make modern AI understandable and usable by students, educators, and developers.

---

## ๐Ÿง  What This Model Does

The model classifies text into predefined **intents**, such as:

- `open_settings`
- `shutdown`
- `restart`
- `play_music`
- `pause_music`
- `get_time`
- `open_browser`

Example:

Input: "Open the browser"
Output: open_browser


---

## ๐Ÿ“ Project Structure

```
intentsnap-ai/
โ”œโ”€โ”€ data/
โ”‚ โ””โ”€โ”€ intents.csv
โ”œโ”€โ”€ model/
โ”œโ”€โ”€ train.py
โ”œโ”€โ”€ predict.py
โ”œโ”€โ”€ requirements.txt
โ””โ”€โ”€ README.md
```

---

## ๐Ÿš€ Getting Started

### Install dependencies

```bash
pip install -r requirements.txt
Train the model
python train.py
The trained model will be saved to the model/ directory.

๐Ÿ”ฎ Run Inference
python predict.py
Type a sentence and the model will predict the intent in real time.

๐Ÿงช Example Output
> Shut down the system
๐ŸŽฏ Intent: shutdown (0.98)