Change finetune docs default lr to 2e-4#11
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates finetuning documentation to use 2e-4 as the default learning rate across the quickstart and both SDK/API reference pages.
Changes:
- Updated Quickstart RL training examples to pass
lr=2e-4. - Updated Python SDK
ft.train_step()reference example and default parameter table to2e-4. - Updated HTTP API training step example payload and default field description to
2e-4.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/finetuning/quickstart.mdx | Updates the quickstart training loop examples to use lr=2e-4. |
| docs/finetuning/python-sdk.mdx | Updates ft.train_step() example call and the documented default learning rate to 2e-4. |
| docs/finetuning/http-api-reference.mdx | Updates the training step request example and documented default lr to 2e-4. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
Not sure what's up the the test deployment failure. Going to try merging anyway. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the finetuning docs to use
2e-4as the default learning rate in the quickstart, Python SDK reference, and HTTP API reference.Validation:
PATH="$HOME/.nvm/versions/node/v25.8.1/bin:$PATH" yarn typecheckPATH="$HOME/.nvm/versions/node/v25.8.1/bin:$PATH" yarn buildNote:
yarn buildpasses with a pre-existing broken anchor warning on/batchlinking to/finetuning/http-api-reference#save-checkpoint.