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

Fix preprocessor from_preset bug #1549

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

mattdangerw
Copy link
Member

Our logic was slight messed up where calls like
GemmaCausalLMPreprocessor.from_preset("gemma_2b_en") would always fail.

Our logic was slight messed up where calls like
GemmaCausalLMPreprocessor.from_preset("gemma_2b_en")
would always fail.
@github-actions github-actions bot added the Gemma Gemma model specific issues label Apr 4, 2024
Copy link
Member

@SamanehSaadat SamanehSaadat left a comment

Choose a reason for hiding this comment

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

Thanks, Matt!

@mattdangerw mattdangerw merged commit 5486f16 into keras-team:master Apr 4, 2024
11 checks passed
SamanehSaadat pushed a commit to SamanehSaadat/keras-nlp that referenced this pull request Apr 10, 2024
Our logic was slight messed up where calls like
GemmaCausalLMPreprocessor.from_preset("gemma_2b_en")
would always fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gemma Gemma model specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants