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 group_by_length optional feature #398

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

nuance1979
Copy link

Notes:

  • I left validate() intact; could use get_dataloader() as well and get rid of get_batch();
  • Dependency on transformers can be eliminated by copying just the LengthGroupedSampler.

Copy link
Collaborator

@lantiga lantiga left a comment

Choose a reason for hiding this comment

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

Looks good, thank you @nuance1979!
Let's do the same for the other scripts in finetune

finetune/lora.py Outdated Show resolved Hide resolved
finetune/lora.py Outdated Show resolved Hide resolved
finetune/lora.py Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
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