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

Add extra models for specific languages #110

Merged
merged 6 commits into from
Jun 22, 2023

Conversation

chainyo
Copy link
Contributor

@chainyo chainyo commented Jun 21, 2023

This PR introduces a convenient way to add extra models for specific languages.

By separating them with a comma, you add the language code to the .env file under the EXTRA_LANGUAGES key.

The languages will then be downloaded from the wordcab HF org, and the snapshot path will be added to the settings.extra_languages_model_path for later reference.

The appropriate model is loaded before anything if the source_lang is an extra language during inference.

@chainyo chainyo added api Everything related to the API implementation transcription Everything related to the transcription part labels Jun 21, 2023
@chainyo chainyo self-assigned this Jun 21, 2023
@chainyo chainyo linked an issue Jun 21, 2023 that may be closed by this pull request
4 tasks
Copy link
Contributor

@aleksandr-smechov aleksandr-smechov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the models tied to extra languages:
https://huggingface.co/wordcab

@aleksandr-smechov aleksandr-smechov merged commit e18663b into main Jun 22, 2023
@chainyo chainyo deleted the 109-add-hebrew-special-model branch August 2, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Everything related to the API implementation transcription Everything related to the transcription part
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hebrew special model
2 participants