Skip to content

Conversation

@gante
Copy link
Contributor

@gante gante commented Mar 7, 2025

What does this PR do?

From the discussion in #36570: clarify docstrings regarding when should a model inherit GenerationMixin. This information was not present anywhere.

@github-actions github-actions bot marked this pull request as draft March 7, 2025 13:17
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the Ready for review button (at the bottom of the PR page).

@gante gante marked this pull request as ready for review March 7, 2025 13:20
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@gante gante force-pushed the when_to_inherit_generationmixin branch from 1dd9826 to 4e150db Compare March 7, 2025 14:11
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

🤗

@ArthurZucker ArthurZucker removed the request for review from Rocketknight1 March 20, 2025 10:25
@gante gante merged commit b47d9b2 into huggingface:main Mar 20, 2025
10 checks passed
@gante gante deleted the when_to_inherit_generationmixin branch March 20, 2025 10:59
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request May 14, 2025
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