Mobile Adaptation Program
针对移动设备使用场景,Hibiki提供两种轻量化方案:
- MLX-Swift方案(iPhone)::
- 访问实验性仓库:kyutai-labs/moshi-swift
- 已在iPhone 16 Pro验证运行
- 使用Hibiki-1B-MLX轻量模型(8 RVQ流)
- Rust原生方案::
- 进入hibiki-rs目录执行编译
- 平台选项:
- Mac设备:
cargo run --features metal -r -- gen 输入.mp3 输出.wav
- Android/NVIDIA设备:使用
--features cuda
- Mac设备:
- Performance Considerations::
- 移动端推荐使用1B参数模型
- 需要设备支持Metal(苹果)或CUDA(安卓)加速
- 实时翻译时建议连接高质量麦克风
This answer comes from the articleHibiki: a real-time speech translation model, streaming translation that preserves the characteristics of the original voiceThe