Comments (7)
Does this mean that if I want to deploy the same model both online and offline, I need to export two separate model files?
Yes.
@csukuangfj Is there a corresponding guide for exporting the model separately for online and offline models? Thank you very much for your response.
Please see our icefall doc for model exporting.
from sherpa-onnx.
Whisper supports at most 30 seconds.
To support longer audios, we have to break then into chunks, each of which should be less than 30 seconds long.
We provide VAD + ASR.
You can try silero VAD + Whisper tiny.en Android APK provided by us.
Please see https://k2-fsa.github.io/sherpa/onnx/vad/apk-asr-cn.html
(Specifically, the APK for whisper is https://hf-mirror.com/csukuangfj/sherpa-onnx-apk/blob/main/vad-asr/sherpa-onnx-1.9.25-x86_64-vad_asr-en-whisper_tiny.apk)
Currently, we have no plan to make test.py support longer audios.
from sherpa-onnx.
Whisper supports at most 30 seconds.
To support longer audios, we have to break then into chunks, each of which should be less than 30 seconds long.
We provide VAD + ASR. You can try silero VAD + Whisper tiny.en Android APK provided by us. Please see https://k2-fsa.github.io/sherpa/onnx/vad/apk-asr-cn.html
(Specifically, the APK for whisper is https://hf-mirror.com/csukuangfj/sherpa-onnx-apk/blob/main/vad-asr/sherpa-onnx-1.9.25-x86_64-vad_asr-en-whisper_tiny.apk)
Currently, we have no plan to make test.py support longer audios.
@csukuangfj
Wow, the provided APK looks great. Is there a detailed guide available for compiling these APKs? I may need to fine-tune my own model. Thanks a lot!
from sherpa-onnx.
Please see our doc.
https://k2-fsa.github.io/sherpa/onnx/android/index.html
from sherpa-onnx.
@csukuangfj
If I want to deploy Whisper in online mode to a mobile phone, it seems that the current guide only supports offline mode?
So, if I want to deploy the Whisper model with online mode to a mobile phone, how should I modify the code that I can add a new model? Thanks! Additionally, I noticed that some models in the download list have "stream" in their names while others do not. Does this mean that if I want to deploy the same model both online and offline, I need to export two separate model files?
from sherpa-onnx.
If I want to deploy Whisper in online mode to a mobile phone, it seems that the current guide only supports offline mode?
So, if I want to deploy the Whisper model with online mode to a mobile phone, how should I modify the code that I can add a new model?
We also want to do that. Please tell us if you find a framework supporting that.
Does this mean that if I want to deploy the same model both online and offline, I need to export two separate model files?
Yes.
from sherpa-onnx.
Does this mean that if I want to deploy the same model both online and offline, I need to export two separate model files?
Yes.
@csukuangfj Is there a corresponding guide for exporting the model separately for online and offline models? Thank you very much for your response.
from sherpa-onnx.
Related Issues (20)
- Add speech enhancement feature HOT 1
- What natural languages does this library support? HOT 9
- DartApi使用whisper模型翻译中文音频报错 HOT 1
- Buid failed on windows with cuda HOT 2
- Error when running tts model HOT 2
- 大佬有没有微信交流群或者qq群啊,,我目前还不太理解这些代码,另外我有需求转换largeV3转onnx,这个有什么方法吗 HOT 2
- Offline Recognizer - Passing the Language for Multi-Language Models HOT 5
- 希望nuget能加个cuda版本的sherpa-onnx库 HOT 1
- 将keyword-spotting-from-files改成了从麦克风读取但没有效果 HOT 2
- Some tts engines are crashing since 1.10.13 (Android) HOT 1
- Add useful whisper features
- Voice conversion HOT 1
- libtool: error: unrecognised option: '-static' on Mac M1 HOT 3
- VAD segment length cap at around 20s HOT 1
- 语音识别测试使用非流式模型比流式模型识别率更高,是否可以更换NAudio组件录音wav文件 HOT 1
- 【flutter】The UI process will stall HOT 4
- FFMPEG example is broken
- How do I use cuda with sherpa-onnx-node? HOT 4
- In windows deployment, model selection
- 在windows上语音识别 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sherpa-onnx.