Skip to content

Conversation

@connermanuel
Copy link
Contributor

@connermanuel connermanuel commented Apr 3, 2025

more informative messages for params that are not valid.

@connermanuel connermanuel requested review from azahed98 and mryab April 3, 2025 00:29
min_lr_ratio: float = 0.0,
scheduler_num_cycles: float = 0.5,
warmup_ratio: float = 0.0,
warmup_ratio: float | None = None,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

to match the if warmup_ratio is None check

@mryab mryab changed the title informative validation messages Make fine-tuning job validation messages more informative Apr 3, 2025
Copy link
Member

@mryab mryab left a comment

Choose a reason for hiding this comment

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

The tests need to be fixed :)

@connermanuel connermanuel requested a review from mryab April 3, 2025 19:48
@connermanuel connermanuel self-assigned this Apr 3, 2025
@azahed98 azahed98 merged commit c3d2a35 into main Apr 3, 2025
9 checks passed
@azahed98 azahed98 deleted the cmanuel/informative-batch-size-limitations branch April 3, 2025 22:58
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