Skip to content

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

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

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

Conversation

@faaany
Copy link
Copy Markdown
Contributor

@faaany faaany commented Feb 6, 2025

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

Copy link
Copy Markdown
Contributor

@muellerzr muellerzr left a comment

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.

Copy link
Copy Markdown
Member

@stevhliu stevhliu left a comment

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