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

fix: allow for padding free + pretraining #426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

HarikrishnanBalagopal
Copy link
Contributor

@HarikrishnanBalagopal HarikrishnanBalagopal commented Dec 20, 2024

Description of the change

Fixes #427

Related issue number

#427

How to verify the PR

Was the PR tested

  • I have added >=1 unit test(s) for every new method I have added.
  • I have ensured all unit tests pass

Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

tuning/sft_trainer.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@fabianlim fabianlim left a comment

Choose a reason for hiding this comment

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

left suggestions for reducing carrying "padding free" across multiple function calls, leading to better future maintainablity. Also add suggestions to locate padding free check to the config.

tuning/sft_trainer.py Outdated Show resolved Hide resolved
@dushyantbehl
Copy link
Contributor

Also @HarikrishnanBalagopal can you add some unit tests to this scenario in lines of our spirit to have unit testing for new args or features.

tuning/sft_trainer.py Outdated Show resolved Hide resolved
Signed-off-by: Harikrishnan Balagopal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

padding_free with extended pretraining causes a crash
3 participants