Skip to content
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

Language #13

Open
lukaszjava opened this issue Apr 20, 2023 · 3 comments
Open

Language #13

lukaszjava opened this issue Apr 20, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lukaszjava
Copy link

Hi,
How to change the language of the application? Is it possible to make the application work in another language?
If I use the app in English, it's fine, but it doesn't recognize other languages.

@leetcode-mafia
Copy link
Owner

You can try using the multilingual model:

defaults write org.phrack.Cheetah whisperModel -string ggml-medium

(Depending on the language, you might need ggml-large instead, but that requires >10 GB of RAM)

I haven't tested this. Let me know how it goes.

@leetcode-mafia leetcode-mafia added the enhancement New feature or request label Apr 20, 2023
@LiDopamine
Copy link

I have replaced the language model in the project with ggml-medium, but the output of the program is still in English. In some cases, it can be displayed (spoken in a foreign language), and in a few cases, other languages of voice input can be translated into English. But the desired situation is to output the spoken language and answer the corresponding language. Maybe the language settings menu is necessary.

@leetcode-mafia
Copy link
Owner

In that case, you should try translating some or all of the prompts.

It may be sufficient to add something trivial like "Provide the final answer in Spanish" in shorthandInstruction, but I would expect better results if extractQuestion is also changed so that the question is extracted in the spoken language.

Translating everything is likely to produce the best results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants