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) |