wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
3.87k stars 1.03k forks source link

How can I set beam_size in Android runtime? #2533

Open Dan1chu opened 1 month ago

Dan1chu commented 1 month ago

Now I'm testing u2++ conformer model in mobile phone, with wenet android runtime.

In c++ runtime, I can simply change the decoding option "--beam "

But in android runtime, there is no option for custom beam_size.

could you give me an idea?

thank you.