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)
- [Need help] How to realize Syllable-level Voice Recognition with sherpa-onnx Open Vocabulary Keyword Spotting HOT 3
- 请问Sherpa_ONNX框架下的ASR模型的output是如何与tokens.txt中的文字对应起来的呢? HOT 1
- Words are being ignored with message `ConvertTextToTokenIdsNotChinese` HOT 1
- Fix typo 'maxNumSenetences' in file 'swift-api-examples/SherpaOnnx.swift' HOT 2
- Audio Not properly configured in swift examples HOT 3
- tts移植后速度很慢的问题,生成10个字的语音大概要20秒左右 HOT 3
- Port to rv1106 , -/bin/sh: ./sherpa-onnx: not found HOT 2
- TTS onnxruntime bug in latest onnx-runtime (1.18) HOT 1
- Crash on TTS Android settings HOT 3
- 使用tts vits-icefall-zh-aishell3模型,输入只有一个或两个字时,输出声音奇奇怪怪的
- iOS 无法引入 framework HOT 2
- Flutter android offline speech recognition. HOT 2
- TeleSpeech-ASR1.0对方言支持的比较好,建议将这个模型添加到sherpa中使用 HOT 7
- 说话人识别可以不提前做声纹注册,实现直接识别吗? HOT 2
- shaerpa-onnx 在ios上报错:Precondition failed: encoder.int8.onnx does not exist! HOT 4
- ios上如何使用关键词预训练模型,是否有相关文档或者demo HOT 3
- TTS crashes with nnapi enabled (works with CPU) HOT 2
- vad-non-streaming-asr-paraformer in csharp can;t detect the last samples HOT 1
- How to disable logs for offline-paraformer-greedy-search-decoder.cc HOT 4
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.