Skip to content

[docs] Fix GenerationConfig params#34299

Merged
LysandreJik merged 1 commit into
huggingface:mainfrom
stevhliu:docstrings
Oct 22, 2024
Merged

[docs] Fix GenerationConfig params#34299
LysandreJik merged 1 commit into
huggingface:mainfrom
stevhliu:docstrings

Conversation

@stevhliu

Copy link
Copy Markdown
Member

Fixes #34273 #33756 to display all the GenerationConfig parameters as shown here. Can be merged after #34293 which fixes the failing build_pr_documentation test.

@stevhliu
stevhliu requested a review from LysandreJik October 21, 2024 21:23

@LysandreJik LysandreJik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Damn, thanks for solving this @stevhliu!

@LysandreJik
LysandreJik merged commit b644178 into huggingface:main Oct 22, 2024
@pcuenca

pcuenca commented Oct 22, 2024

Copy link
Copy Markdown
Member

Just a note that this won't be expanded. Maybe an opportunity to list the cache methods explicitly and provide one-liners for each one, in a followup PR? Happy to contribute if you're busy.

@stevhliu
stevhliu deleted the docstrings branch October 22, 2024 16:26
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
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.

GenerationConfig parameters are deleted from the website on 4.52.2 and main

3 participants