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

update: language_abbr parameter to a string #220

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

KevKibe
Copy link
Owner

@KevKibe KevKibe commented Nov 25, 2024

This PR:

  • Updates the language_abbr parameter to accept a single string instead of a list of strings.
    This change aligns with the model.generation_config.language configuration, which supports only one language per model run.
    Using multiple languages simultaneously can cause issues during fine-tuning, such as generating two special tokens instead of one, which disrupts the model's expected behavior.

@KevKibe KevKibe changed the title update: change language_abbr parameter to a string to accept omne lan… update: language_abbr parameter to a string Nov 25, 2024
@KevKibe KevKibe merged commit 7e57992 into main Nov 25, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant