Code Monkey home page Code Monkey logo

Comments (16)

csukuangfj avatar csukuangfj commented on July 19, 2024

how to export sherpa-ncnn in pruned_transducer_stateless5.Have some example?

Please have a look at our documentation:
https://k2-fsa.github.io/icefall/model-export/export-ncnn.html

We only support the following models for exporting to ncnn

  • LSTM transducer
  • ConvEmformer
  • Streaming zipformer

from sherpa-ncnn.

Yymax-max avatar Yymax-max commented on July 19, 2024

how to export sherpa-ncnn in pruned_transducer_stateless5.Have some example?

Please have a look at our documentation: https://k2-fsa.github.io/icefall/model-export/export-ncnn.html

We only support the following models for exporting to ncnn

  • LSTM transducer
  • ConvEmformer
  • Streaming zipformer

Is there any plan to support?

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

how to export sherpa-ncnn in pruned_transducer_stateless5.Have some example?

Please have a look at our documentation: https://k2-fsa.github.io/icefall/model-export/export-ncnn.html
We only support the following models for exporting to ncnn

  • LSTM transducer
  • ConvEmformer
  • Streaming zipformer

Is there any plan to support?

Sorry, it is not in the plan.

Streaming zipformer is our current best-performing model and we already support it.

from sherpa-ncnn.

Yymax-max avatar Yymax-max commented on July 19, 2024

how to export sherpa-ncnn in pruned_transducer_stateless5.Have some example?

Please have a look at our documentation: https://k2-fsa.github.io/icefall/model-export/export-ncnn.html
We only support the following models for exporting to ncnn

  • LSTM transducer
  • ConvEmformer
  • Streaming zipformer

Is there any plan to support?

Sorry, it is not in the plan.

Streaming zipformer is our current best-performing model and we already support it.

ok,thank

from sherpa-ncnn.

Yymax-max avatar Yymax-max commented on July 19, 2024

how to export sherpa-ncnn in pruned_transducer_stateless5.Have some example?

Please have a look at our documentation: https://k2-fsa.github.io/icefall/model-export/export-ncnn.html
We only support the following models for exporting to ncnn

  • LSTM transducer
  • ConvEmformer
  • Streaming zipformer

Is there any plan to support?

Sorry, it is not in the plan.
Streaming zipformer is our current best-performing model and we already support it.

ok,thank

emm,can you tell me current best-performing model in offline,thanks

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

Please see
https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/RESULTS.md#pruned_transducer_stateless8-zipformer--multidataset

It is also zipformer.


By the way, the RESULTS.md from each recipe keeps the results of each experiment.
You can find the results from there.

from sherpa-ncnn.

Yymax-max avatar Yymax-max commented on July 19, 2024

thank

from sherpa-ncnn.

joazoa avatar joazoa commented on July 19, 2024

@csukuangfj can the new zipformer (offline version --causal 0 ) be exported with ncnn ? If so, how and where can i find some code to do offline decoding with the ncnn version ?

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

the new zipformer (offline version --causal 0 ) be exported with ncnn

No.

sherpa-ncnn supports only streaming models.

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

@csukuangfj can the new zipformer (offline version --causal 0 ) be exported with ncnn ? If so, how and where can i find some code to do offline decoding with the ncnn version ?

All supported models are listed in the documentation.
https://k2-fsa.github.io/icefall/model-export/export-ncnn.html

If a model is not listed here, then it is not supported.

from sherpa-ncnn.

joazoa avatar joazoa commented on July 19, 2024

Thank you for the lightning fast answer!

I suppose the "zipformer" in the documentation only refers to the older version (transducer_stateless7_streaming ) and not to the new zipformer with causal=1 ) ?

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

I suppose the "zipformer" in the documentation only refers to the older version

Yes, you are right. The new version ./zipformer has not been supported yet, but it is in the plan.

from sherpa-ncnn.

joazoa avatar joazoa commented on July 19, 2024

thank you for the clarification! Do you have an idea for when support would be planned ?
I ask because I have 15 different models with stateless streaming 7 that I need to redo for other reasons and I need to decide to use either the previous models or the new one.

from sherpa-ncnn.

csukuangfj avatar csukuangfj commented on July 19, 2024

We will first support sherpa-onnx. There is an on-going issue about it. k2-fsa/icefall#1094
After it is supported, we will start to support sherpa-ncnn.

Could you try sherpa-onnx first once it is supported?

from sherpa-ncnn.

joazoa avatar joazoa commented on July 19, 2024

Yes, absolutely! I will try it as soon as it's available. I'm using the latest zipformer successfully with sherpa already, very happy with it.

from sherpa-ncnn.

joazoa avatar joazoa commented on July 19, 2024

@csukuangfj Now that the Onnx export is done, what is needed for the ncnn export for the zipformer2 ? How can we (try to) help ?

Could we use https://github.com/Tencent/ncnn/blob/master/tools/onnx/onnx2ncnn.cpp ?

from sherpa-ncnn.

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.