Repository navigation
refactor: refactor dataset module #977
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
37076aa
split AllTaskProcessedDataset, assert_no_double_bos, collate_fn to di…
yuki-97 d2c9688
move chat_templates.py
yuki-97 7cff2c5
move pil_to_base64 to utils
yuki-97 f943179
move eval datasets and remove data_path in config
yuki-97 caf2cc0
refactor and move response datasets
yuki-97 0c9f8d7
refactor and move preference datasets
yuki-97 454a68c
unify ResponseDataset and PreferenceDataset
yuki-97 6701dbd
merge and fix unit test
yuki-97 abc4394
fix pyrefly and cleanup
yuki-97 b7b9581
update doc
yuki-97 41d1566
fix doc path
yuki-97 edbf1ba
support from hf
yuki-97 2ba1edf
fix split key
yuki-97 2aa48f8
update unit test
yuki-97 5f108bf
fix train docs
yuki-97 f4e9814
merge aime
yuki-97 f962fa8
lint
yuki-97 e36dc08
split out BinaryPreferenceDataset
yuki-97 3e3e34c
update doc for BinaryPreferenceDataset
yuki-97 f2fed5b
lint
yuki-97 27d3416
update val_split and doc
yuki-97 42709e7
remove escape
yuki-97 055e21f
update doc
yuki-97 fee86cd
address coderabbit
yuki-97 6c18352
not use chosen-reject and rank
yuki-97 ff76668
update preference_dataset_type
yuki-97 e849ddc
remove dataset_type and detect by dataset_name
yuki-97 34adde2
fix test
yuki-97 cf56280
fix comment
yuki-97 2b2460c
train_split default to None and add comments
yuki-97 0ad77b9
address coderabbit
yuki-97 45a65af
address coderabbit, remove duplicated
yuki-97 726ca21
unify Hugging Face to HuggingFace
yuki-97 e46ed66
add comments for PathToTrainingDataset
yuki-97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.