Teaching Reachy Empathy with a Lightweight Multilingual Classifier
2 similar posts
- Reachy Mini
- Raspberry Pi CM4
- ONNX Runtime
- MiniLM
AI Summary
This article explores how engineers implemented an automatic emotion gesture classifier for the Reachy Mini robot using a lightweight multilingual MiniLM model. Running on a Raspberry Pi CM4 within a 118 MB int8 ONNX footprint, the system selects facial and physical expressions in under 100 ms without interrupting conversation latency. The authors detail their journey from zero-shot prototype phrase matching to LLM-generated dataset creation, distillation from larger teacher models, and overcoming deployment bottlenecks like Python GIL contention and sentence queuing bugs.
Key Takeaways
- Replaced naive cosine-similarity phrase matching with a fine-tuned 118 MB int8 ONNX model.
- Trained on roughly 370,000 sentences using LLM labellers and permissively licensed datasets.
- Addressed real-world deployment hurdles including Python GIL locks and conversation turn queueing.
Why it matters
Demonstrates practical edge AI optimization, model distillation, and real-world deployment challenges for resource-constrained robotic hardware.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.