GithubHelp home page GithubHelp logo

Comments (7)

csukuangfj avatar csukuangfj commented on July 20, 2024 1

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.

csukuangfj avatar csukuangfj commented on July 20, 2024

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.

MrRace avatar MrRace commented on July 20, 2024

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.

csukuangfj avatar csukuangfj commented on July 20, 2024

Please see our doc.

https://k2-fsa.github.io/sherpa/onnx/android/index.html

from sherpa-onnx.

MrRace avatar MrRace commented on July 20, 2024

@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.

csukuangfj avatar csukuangfj commented on July 20, 2024

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.

MrRace avatar MrRace commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.