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

Generate: validate model_kwargs on FLAX (and catch typos in generate arguments) #18653

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

gante
Copy link
Member

@gante gante commented Aug 16, 2022

What does this PR do?

FLAX version of #18261

Adds model_kwargs validation to FLAX generate, which also catches typos in the arguments. See the PR above for more details and an example of the error message users will see.

@gante gante marked this pull request as ready for review August 16, 2022 15:06
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 16, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@gante gante merged commit a541d97 into huggingface:main Aug 18, 2022
@gante gante deleted the flax_generate_kwargs_valid branch August 18, 2022 09:56
amyeroberts pushed a commit to amyeroberts/transformers that referenced this pull request Aug 18, 2022
oneraghavan pushed a commit to oneraghavan/transformers that referenced this pull request Sep 26, 2022
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.

3 participants