| # ๐ค 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) |