Skip to content

Fix incorrect learning rate in erratic curves example#1166

Open
YevhenDiachenko0 wants to merge 1 commit intohuggingface:mainfrom
YevhenDiachenko0:fix/learning-rate-example
Open

Fix incorrect learning rate in erratic curves example#1166
YevhenDiachenko0 wants to merge 1 commit intohuggingface:mainfrom
YevhenDiachenko0:fix/learning-rate-example

Conversation

@YevhenDiachenko0
Copy link

@YevhenDiachenko0 YevhenDiachenko0 commented Jan 24, 2026

Fix incorrect learning rate in erratic curves example

Bug

Section 3.7 Erratic Learning Curves** states the example "lowers the learning rate" but the code actually increases it from 1e-5 to 1e-4 (10x higher).

Fix

Swapped the values to correctly decrease learning rate from 1e-4 to 1e-5.

Changes

  • chapters/en/chapter3/section7.mdx: Fixed learning rate diff to show actual decrease

The example claimed to "lower the learning rate" but actually increased it
from 1e-5 to 1e-4. Fixed to decrease from 1e-4 to 1e-5.
@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.

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.

2 participants

Comments