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

Ability to train based on epoch #613

Open
abatilo opened this issue Oct 13, 2024 · 1 comment
Open

Ability to train based on epoch #613

abatilo opened this issue Oct 13, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@abatilo
Copy link

abatilo commented Oct 13, 2024

At the moment, you can train using a number of steps, but it would be great if we could train on a number of epochs of the passed in dataset.

Additionally, some way to know how far into a dataset you are when training would be amazing.

@tianyu-l tianyu-l added enhancement New feature or request good first issue Good for newcomers labels Oct 15, 2024
@jaysonfrancis
Copy link

I use something similar to this for approximating;

epoch_approx = step / (total_tokens // global_batch_size)

where global_batch_size = local_batch * seq_len * world_size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants