File size: 1,800 Bytes
19d5244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3f514d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19d5244
3f514d3
 
 
 
 
 
 
 
 
c560db3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

language: en
license: mit
tags:
- intent-classification
- assistant
- scikit-learn
- sentence-transformers
model-type: text-classification
pipeline_tag: text-classification
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
  - text: "increase volume"
  - text: "open gmail"
  - text: "restart system"
---


# 🧠 Jarvis Intent Classifier

A lightweight CPU-friendly intent classification model that detects user commands  
and returns both a natural response and a system action command.

This model is ideal for building local AI assistants that can interact with your operating system  
(e.g., open apps, control volume, restart, sleep, or play music).

---

## 🏗️ Model Overview

| Component | Description |
|------------|--------------|
| **Base Model** | `sentence-transformers/all-MiniLM-L6-v2` (384-dim embeddings) |
| **Classifier** | `LogisticRegression` (scikit-learn) |
| **Dataset** | Custom OS command dataset with examples, responses, and Python actions |
| **Frameworks** | `sentence-transformers`, `scikit-learn` |
| **Runs on** | CPU (no GPU needed) |
| **License** | MIT |

---

## 🧩 Example Input → Output

**Input:**
```text

restart my computer



{

  "intent": "system_restart",

  "response": "System restart initiated...",

  "action": "os.system('shutdown /r /t 1')"

}





## 📜 License



This model is released under the **MIT License**.  

You may use, modify, and distribute it freely with attribution.



---



## 📖 Citation



If you use this model, please cite:



@software{jarvis_intent_classifier,

  title={Jarvis Intent Classifier},

  author={Arul Krishnan},

  year={2025},

  publisher={Hugging Face Hub},

  url={https://huggingface.co/KrishnanDevilking/jarvis-intent-classifier}

}