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 desc to map/filter #1162

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Add desc to map/filter #1162

merged 2 commits into from
Jan 23, 2024

Conversation

casper-hansen
Copy link
Collaborator

@casper-hansen casper-hansen commented Jan 22, 2024

We simply add a description to every main map/filter for preprocessing of datasets. This is intended to create transparency and a better understanding of the steps before training. The descriptions will help make debugging easier.

With this PR, it's easy to see the following process:

  1. Generating training split
  2. Tokenizing Prompts
  3. Packing (Sample Packing)
  4. Dropping Long Sequences
  5. Saving Shards

@winglian winglian merged commit 6840381 into main Jan 23, 2024
7 checks passed
@winglian winglian deleted the map_with_desc branch January 23, 2024 02:30
djsaunde pushed a commit that referenced this pull request Dec 17, 2024
* Add desc to map/filter

* update descriptions

---------

Co-authored-by: Wing Lian <[email protected]>
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