Skip to content

Conversation

@Andron00e
Copy link
Collaborator

No description provided.

@Andron00e
Copy link
Collaborator Author

Andron00e commented Jan 7, 2025

this PR introduces a family of Cautious optimizers and weight decay scheduling (cosine, WSD, stable-decay; with different cooldown shapes).
in addition, this PR include mix of SGD and Adam: Adam trains lm_head, layernorms, embeds by default, all other parameters are optimized by SGD. however this all can be customized further.

TODO:

  • customize div_factor of schedulers (default value is 1e2) so we can experiment with down to 10%, down to zero, etc. [done]
  • add C4 dataset [ongoing]
  • handle the large filename oseerror [ongoing]

@Andron00e Andron00e changed the title sgd-with-adam updates & weight decay scheduler code sgd-with-adam & weight decay scheduler code & Cautious & C4 dataset Jan 7, 2025
@Andron00e Andron00e changed the title sgd-with-adam & weight decay scheduler code & Cautious & C4 dataset sgd-with-adam & weight decay scheduler & Cautious & C4 dataset Jan 7, 2025
@Andron00e Andron00e merged commit 16060d6 into soap Oct 30, 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.

3 participants