Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the learning rate #19

Open
lucasjinreal opened this issue Jul 14, 2023 · 1 comment
Open

About the learning rate #19

lucasjinreal opened this issue Jul 14, 2023 · 1 comment

Comments

@lucasjinreal
Copy link

from the script provided, I think longchat is full sft rather than lora, but the equal batch size total is just 1 (batch_size * gradient_accum * num_gpus)

But vicuna original fschat training full params sft, using equal batch size of 128, why lr is different? Which one should be adopted if only have 2 80G ?

@DachengLi1
Copy link
Owner

@lucasjinreal I think either is fine - you can go with the largest batch size your gpu support, either with or without gradient accumulation,

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

No branches or pull requests

2 participants