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

Add epochs to levanter #768

Merged
merged 38 commits into from
Nov 7, 2024
Merged

Add epochs to levanter #768

merged 38 commits into from
Nov 7, 2024

Conversation

ahmeda14960
Copy link
Contributor

adds epochs with a boolean flag, which will continue epoching over the dataset and tracks epochs throughout training. Should be backwards compatible with checkpoints.

@ahmeda14960 ahmeda14960 marked this pull request as ready for review October 16, 2024 23:34
config/llama_7b_with_olmo_config.yaml Outdated Show resolved Hide resolved
config/llama_7b_with_olmo_config.yaml Outdated Show resolved Hide resolved
src/levanter/callbacks.py Show resolved Hide resolved
src/levanter/callbacks.py Outdated Show resolved Hide resolved
src/levanter/callbacks.py Show resolved Hide resolved
src/levanter/data/text.py Outdated Show resolved Hide resolved
src/levanter/data/text.py Outdated Show resolved Hide resolved
src/levanter/main/train_lm.py Outdated Show resolved Hide resolved
src/levanter/main/train_lm.py Outdated Show resolved Hide resolved
src/levanter/main/train_lm.py Outdated Show resolved Hide resolved
src/levanter/data/text.py Outdated Show resolved Hide resolved
src/levanter/data/text.py Outdated Show resolved Hide resolved
src/levanter/main/train_lm.py Outdated Show resolved Hide resolved
src/levanter/checkpoint.py Outdated Show resolved Hide resolved
src/levanter/checkpoint.py Show resolved Hide resolved
src/levanter/checkpoint.py Outdated Show resolved Hide resolved
@dlwh dlwh mentioned this pull request Oct 25, 2024
@ahmeda14960 ahmeda14960 merged commit 0f94ff2 into main Nov 7, 2024
7 of 8 checks passed
@ahmeda14960 ahmeda14960 deleted the sft branch November 7, 2024 00:36
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.

2 participants