Skip to content

[docs] fix outdated example code in trainer.md - #36066

Merged
stevhliu merged 1 commit into
huggingface:mainfrom
faaany:fix-docs
Feb 6, 2025
Merged

[docs] fix outdated example code in trainer.md#36066
stevhliu merged 1 commit into
huggingface:mainfrom
faaany:fix-docs

Conversation

@faaany

@faaany faaany commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

When going through the code examples in trainer.md, I found several bugs. The optimizer related bug should be fixed in #35875.
The rest should be fixed in this PR. :)

Documentation: @stevhliu

@muellerzr muellerzr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! 馃

@muellerzr
muellerzr requested a review from stevhliu February 6, 2025 13:38
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@stevhliu stevhliu 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.

Thanks! 馃

@stevhliu
stevhliu merged commit 6246c03 into huggingface:main Feb 6, 2025
@faaany
faaany deleted the fix-docs branch February 7, 2025 02:33
MekkCyber pushed a commit that referenced this pull request Feb 7, 2025
elvircrn pushed a commit to elvircrn/transformers that referenced this pull request Feb 13, 2025
sbucaille pushed a commit to sbucaille/transformers that referenced this pull request Feb 16, 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.

4 participants