yushun zhang's picture
2 3

yushun zhang

yushun0410

AI & ML interests

LLMs

Recent Activity

upvoted a collection 5 days ago
Qwen2.5
upvoted a collection 5 days ago
Qwen2.5-Math
View all activity

Organizations

None yet

Posts 1

view post
Post
4609
Hi Huggingfacers!

Thrilled to introduce Adam-mini, an optimizer that achieves on-par or better performance than AdamW with 45% to 50% less memory footprint. Adam-mini can also achieve 49.5% higher throughput than AdamW on Llama2-7B pre-training.

The design of Adam-mini is inspired by certain Hessian structures we observed on Transformers.

Feel free to try it out! Try switching to Adam-mini with the same hyperparams of AdamW, it would work with only half memory. Hope Adam-mini can help save time, cost, and energy in your tasks!

Paper: "Adam-mini: Use Fewer Learning Rates To Gain More" https://arxiv.org/abs/2406.16793

Code: https://github.com/zyushun/Adam-mini

models

None public yet

datasets

None public yet