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

SFT improvements (labeling fixes, different packing implementations) #1240

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

dmahan93
Copy link
Contributor

  • add different packing impl (Unpacked, packing until overflow), a bit naive but for SFT it shouldn't be an issue
  • fix labels to also have valid/test implementations
  • fix label masking in _get_batch to also include anything from get_ltor_masks_and_position_ids

- fix labels to also have valid/test implementations
- fix label masking in _get_batch to also include anything from get_ltor_masks_and_position_ids
@dmahan93 dmahan93 mentioned this pull request Jun 25, 2024
@StellaAthena StellaAthena mentioned this pull request Jun 28, 2024
Copy link
Member

@Quentin-Anthony Quentin-Anthony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've decided I'm happy with it as-is. Tested and working. Great work!

@Quentin-Anthony Quentin-Anthony merged commit c786367 into EleutherAI:main Aug 27, 2024
2 checks passed
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