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

MMS - is automatic language detection a thing with MMS? The mms_infer.py requires a language input to work #5119

Closed
altryne opened this issue May 22, 2023 · 4 comments

Comments

@altryne
Copy link

altryne commented May 22, 2023

What is your question?

How to auto-detect a language from the mms_infer.py?

Code

Running

python asr/infer/mms_infer.py --model mms1b_l1107.pt --audio output_audio.mp3

shows

the following arguments are required: --lang

@tanmayh-fg
Copy link

i have same issue. If not automatic, is there at least a way I can give multiple language inputs, eg eng & hin.

@androstj
Copy link
Contributor

We currently don't support automatic language detection given a speech. But you could use the LID to detect the language and put the predicted language code into inference script (but check if ASR support those languages or not from README table)

@altryne
Copy link
Author

altryne commented May 24, 2023

We currently don't support automatic language detection given a speech. But you could use the LID to detect the language and put the predicted language code into inference script (but check if ASR support those languages or not from README table)

Thanks for the comment @androstj , could you elaborate on what "use the LID" means?

@androstj
Copy link
Contributor

androstj commented May 25, 2023

LID is Language Identification. Given a speech input, LID will predict what language is it. Check our readme section on how to run LID MMS LID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants