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 an option to improve tokenization shuffling #141

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

soldni
Copy link
Member

@soldni soldni commented Mar 24, 2024

added flag --sample_ring_prop to dolma tokens (off by default). When set to true, sampling from files in the ring is done proportionally to their size so that smaller files are not disproportionately represented in the beginning of each file.

@soldni soldni merged commit c3d6243 into main Mar 25, 2024
14 checks passed
@soldni soldni deleted the soldni/tokenizer_better_shuffle branch March 25, 2024 13:51
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.

1 participant