-
Notifications
You must be signed in to change notification settings - Fork 66
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
Dataset split fallbacks #953
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review. |
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
This change isn't strictly necessary for #943. I think the original intention was that users would manually assign dataset splits, ie |
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
Signed-off-by: Kyle Sayers <kylesayrs@gmail.com>
If this is a nice to have, let's not prioritize for now. |
Purpose
Previously
Now
Changes
src/llmcompressor/typing.py
_get_split_with_fallbacks
helper function which allows strict and non-strict split retrieval with fallbacksPostrequisites
Testing
tests/llmcompressor/transformers/finetune/data/test_dataset_helpers.py
test.py