QUICKPUTER - Autonomous micro chatbot for M5Stack Cardputer
2 min readupdated
QUICKPUTER is a compact language model with 24.8 million parameters capable of running completely offline on the M5Stack Cardputer mini-computer (ESP32-S3) without an internet connection, SD cards, or a smartphone. The model is compressed to 2 bits per weight (only 6.4 MB) and reads weights directly from the device's built-in flash memory at around 4 tokens per second while rendering animated attention bars on the screen. It is built on a Qwen3-style mini architecture fine-tuned on responses from a Qwen3-4B-Instruct-2507 teacher model for everyday conversation. This project appeals to hardware hobbyists, offline AI system enthusiasts, and anyone looking to run a conversational large language model directly on a microcontroller.
Key features
- Full autonomy: Runs without Wi-Fi or network connectivity on an ESP32-S3 with 8 MB of flash memory.
- High speed: Delivers about 4 tokens per second using optimized vector instructions.
- Attention visualization: The screen displays in real time which words the model is analyzing and which options it is choosing responses from.
- Teacher training: Fine-tuned using high-quality synthetic data and FineWeb-Edu texts.
What you can do
- Flash the device: Upload the ready-to-use
quickputer-full-8MB.binbinary to the M5Stack Cardputer via esptool. - Chat offline: Ask simple everyday questions using the device keyboard and receive answers on the go.
- Build firmware independently: Compile the project via ESP-IDF 5.x using a custom C engine and vector core.
- Run on a PC: Check the command-line engine performance and test token generation locally on a computer.
Example
Example of a dialogue with the device on simple questions:
Question: What is the capital of France?
Answer: The capital of France is Paris.
Read more
DetailsMetrics: 59 out of 161 correct answers on test questions and 28 out of 106 on completely new formulations
Hardware: M5Stack Cardputer (ESP32-S3, 8 MB flash, no PSRAM), training on a single 16 GB GPU
Limitations: English language only, 192-token context, frequently makes mistakes and confidently hallucinates facts on complex topics
Training: pre-training on 3.2B tokens of FineWeb-Edu and three rounds of supervised fine-tuning










Comments