yousan
Get in touch

← Back to Works

KoeAct-JP (Japanese speech straight to robot actions)

A 2.59M-parameter model that turns Japanese speech into action calls (Action JSON) with no transcript in between. It runs on a PC CPU and on an M5Stack CoreS3 (ESP32-S3) with no cloud.

Date
Role
Design, data creation, training, quantization, on-device implementation, evaluation, release
Tech
Spoken language understanding, Function calling, DFSMN, ESP32-S3, PyTorch, ONNX

Overview

A small model for voice control: say “turn your face 45 degrees to the right” in Japanese and it returns [{"name":"look","arguments":{"direction":"right","degrees":45}}]. Instead of chaining speech recognition and a language model, it goes from speech directly to Action JSON. For negations such as “actually, don’t turn off the light” and for speech that is not a request, it returns []. The demo runs inside the browser, and the audio never leaves it.

What I did

Starting from the speech encoder of Ralomi, my own speech recognition model, I handled the grammar-constrained decoder design, building the training data with synthetic speech, training, quantization for the ESP32-S3, the firmware, evaluation and release.

Technical notes

Links