Skip to content

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
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