Handy/src-tauri/src/managers
Vlad Gerasimov 1b580d54e8
feat: add Moonshine Base speech recognition model (#556)
* feat: add Moonshine Base speech recognition model

Add support for the Moonshine Base ASR model, which offers:
- 5x faster transcription than Whisper
- Better accent recognition
- ~240MB model size (encoder + decoder + tokenizer)

Changes:
- Update transcribe-rs to v0.2 with moonshine feature
- Add EngineType::Moonshine variant
- Add Moonshine Base model definition (400MB, 80% accuracy, 90% speed)
- Add model loading and transcription logic
- Add i18n translation for Moonshine Base

Note: Model files must be hosted at blob.handy.computer/moonshine-base.tar.gz
Expected structure: encoder_model.onnx, decoder_model_merged.onnx, tokenizer.json

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Update moonshine parameters.

* add translations

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: CJ Pais <cj@cjpais.com>
2026-01-10 11:22:49 +08:00
..
audio.rs Add a cancel hotkey and configuration (#224) 2025-11-28 09:00:47 +07:00
history.rs Refactor History SQLite (#412) 2025-12-09 21:17:34 +07:00
mod.rs basic working history (#104) 2025-09-05 16:25:38 -07:00
model.rs feat: add Moonshine Base speech recognition model (#556) 2026-01-10 11:22:49 +08:00
transcription.rs feat: add Moonshine Base speech recognition model (#556) 2026-01-10 11:22:49 +08:00