Open timlliu opened 9 months ago
https://github.com/nyadla-sys/whisper.tflite/tree/main/models
Use script from this link to generate model.
I use multilingual model.
Change forced_decoder_ids to [[1, 50260], [2, 50359], [3, 50363]].
Output is correct.
tflite model's output is not correct
Am I missing something?
i have the same problem.
https://github.com/nyadla-sys/whisper.tflite/tree/main/models i follow readme colab to generate multilingual model and replace in android sample but model is not work. and has below error msg.
how can i get the multilingual model?
@timlliu If you proceed with 'monkey patch' referring to this comment, you can solve the problem that forced_decoder_ids does not apply to tflite.
https://github.com/nyadla-sys/whisper.tflite/discussions/15#discussioncomment-7362798
When converting to tflite, it seems that the specific code of the hugging face caused the problem.
I want to generate my own model. I try : https://colab.research.google.com/github/usefulsensors/openai-whisper/blob/main/notebooks/whisper_base_tflite_model.ipynb#scrollTo=TzCrY9Q5jVsg But, it's not work for me.