plutoedge commited on
Commit
0f654de
·
verified ·
1 Parent(s): 4096829

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ - id
5
+ license: apache-2.0
6
+ tags:
7
+ - iot
8
+ - edge-ai
9
+ - raspberry-pi
10
+ - ollama
11
+ - gguf
12
+ - lora
13
+ - qwen2
14
+ - plutoclaw
15
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
16
+ model-index:
17
+ - name: PlutoEdge-1.5B
18
+ results: []
19
+ ---
20
+
21
+ # PlutoEdge-1.5B
22
+
23
+ **PlutoEdge-1.5B** is a domain-specific LLM fine-tuned for IoT edge automation, running on Raspberry Pi via Ollama. It powers [PlutoClaw](https://github.com/plutoedge-dev/plutoclaw) — an open-source Edge AI orchestrator for physical hardware control.
24
+
25
+ > Runs fully offline on Raspberry Pi 4B CPU. No GPU, no cloud, no API keys.
26
+
27
+ ## Model Details
28
+
29
+ | Property | Value |
30
+ |---|---|
31
+ | **Base model** | Qwen2.5-1.5B-Instruct |
32
+ | **Fine-tuning** | MLX LoRA (rank=16, 1500 iters) |
33
+ | **Format** | GGUF Q4_K_M |
34
+ | **Size** | ~940 MB |
35
+ | **Pi 4B inference** | ~37s / response |
36
+ | **Pi 5 inference** | ~18s / response |
37
+ | **Context window** | 1024 tokens (Pi) / 2048 tokens (Mac) |
38
+ | **Training samples** | 759 (synthetic + acon96/Home-Assistant-Requests) |
39
+ | **Language** | English (Bahasa Indonesia input supported via normalization) |
40
+
41
+ ## What It Does
42
+
43
+ PlutoEdge understands IoT control commands and responds with structured `PLUTO_ACTION` JSON that PlutoClaw executes on GPIO hardware:
44
+
45
+ ```
46
+ User: "Turn on the ventilation fan"
47
+ Pluto: "Turning on the ventilation fan now."
48
+ PLUTO_ACTION: {"type": "actuator_trigger", "params": {"id": "relay1", "action": "on"}}
49
+ ```
50
+
51
+ ```
52
+ User: "Worker detected without hard hat"
53
+ Pluto: "PPE violation detected. Sounding alert buzzer."
54
+ PLUTO_ACTION: {"type": "multi_trigger", "params": [{"id": "buzzer1", "action": "pulse"}, {"id": "led1", "action": "on"}]}
55
+ ```
56
+
57
+ ## Training Domains
58
+
59
+ | Domain | Samples | Skills |
60
+ |---|---|---|
61
+ | Smart Home | 520 | relay control, automation, flood/fire detection |
62
+ | Knowledge Q&A | 66 | PlutoClaw platform, skill selection, setup |
63
+ | Warehouse | 41 | ppe_guard, intrusion, forklift_guard |
64
+ | Sustainability | 34 | solar/grid, carbon footprint, water monitoring |
65
+ | Poultry Farming | 33 | coop_monitor, sick_animal, animal_count |
66
+ | Industrial | 30 | predictive_maintenance, quality_control |
67
+ | Agriculture | 27 | irrigation_control, crop_monitor |
68
+
69
+ ## PLUTO_ACTION Format
70
+
71
+ ```json
72
+ // Single device
73
+ PLUTO_ACTION: {"type": "actuator_trigger", "params": {"id": "relay1", "action": "on"}}
74
+
75
+ // Multiple devices simultaneously
76
+ PLUTO_ACTION: {"type": "multi_trigger", "params": [
77
+ {"id": "relay1", "action": "off"},
78
+ {"id": "buzzer1", "action": "on"},
79
+ {"id": "led1", "action": "on"}
80
+ ]}
81
+ ```
82
+
83
+ ## Quickstart with Ollama
84
+
85
+ ```bash
86
+ # Install Ollama on Raspberry Pi
87
+ curl -fsSL https://ollama.ai/install.sh | sh
88
+
89
+ # Pull and run PlutoEdge
90
+ ollama pull plutoedge/PlutoEdge-1.5B-GGUF
91
+ ollama run plutoedge/PlutoEdge-1.5B-GGUF
92
+ ```
93
+
94
+ Or use with [PlutoClaw](https://github.com/plutoedge-dev/plutoclaw) for full GPIO automation:
95
+
96
+ ```bash
97
+ git clone https://github.com/plutoedge-dev/plutoclaw.git
98
+ cd plutoclaw
99
+ pip install -r requirements.txt
100
+ # Edit config.yaml, then:
101
+ python3 main.py
102
+ ```
103
+
104
+ ## Files
105
+
106
+ | File | Description |
107
+ |---|---|
108
+ | `PlutoEdge-1.5B-v4-Q4_K_M.gguf` | Quantized model for Raspberry Pi (940 MB) |
109
+ | `PlutoEdge-1.5B-v4-F16.gguf` | Full precision GGUF (3.1 GB) |
110
+ | `Modelfile` | Ollama Modelfile with system prompt |
111
+
112
+ ## License
113
+
114
+ Apache 2.0 — same as base model (Qwen2.5-1.5B-Instruct by Alibaba Cloud).
115
+
116
+ ---
117
+
118
+ Built by [Plutobot AI](https://plutobot.ai) · Jakarta, Indonesia