-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling multiple languages doesn't display text in the language that is spoken #30
Comments
@Rohith-Altrai whisper tflite multilanguage support needs more attention and require seperate tflite file based on the language selection |
Can I know why is it translating some sentences? and can you give me some instructions on how I can make it work on a specific language with the transcript text being the same language which was spoken Note: I am totally new to AI and a beginner in mobile development Thank you for the help |
Does this mean we would need a separate tflite file for each language? https://github.com/woheller69/whisperIME I built a new Android app which also implements an Android InputMethod which makes whisper voice input available via e.g. HeliBoard for every app. I use the whisper small tflite for multi-lingual which works quite good. But sometimes it translates instead of transcribing, even though it detected the right language. Is there no way to pass the language token and/or the transcribe/translate token to the model when running inference? Is it possible when creating a model with several signatures? def serving_korean(self, input_features): def serving_german(self, input_features): generate_model = GenerateModel(model=model) saved_model_dir = 'content/small_saved' tf.saved_model.save(generate_model, saved_model_dir, signatures={"serving_korean": generate_model.serving_korean, "serving_german": generate_model.serving_german}) |
I tried using different languages, for some of the languages it showed the text in the language that was spoken and for others the app displays the text in english.
The text was updated successfully, but these errors were encountered: