-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Fix rag finetuning + add finetuning test #8585
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
30 commits
Select commit
Hold shift + click to select a range
ccc3661
replace init_ddp_connection for index init
lhoestq a16b78b
style
lhoestq a528279
add finetune test
lhoestq 10de28b
add test data
lhoestq fdd59fb
move generate tensors to device
lhoestq c1cd3c1
add test on EM metric
lhoestq ae1366c
style
lhoestq adf56d4
allow multi process test
lhoestq ddf2eca
keep gloo process group for retrieval
lhoestq 73194c7
add multi-gpu test
lhoestq aebdcb8
use custom accelerator
lhoestq f307b9f
clean test finetune
lhoestq 30cd148
minor
lhoestq 46f8660
style
lhoestq 572b070
style
lhoestq 3e5cc12
typo
lhoestq dcf42e3
use python call instead of imported main fumction
lhoestq 0219b3a
return_dict fix in modeling_rag
lhoestq a2ace92
use float32 in retrieval
lhoestq 90bee66
store as float32 as well in the custom knowledge dataset example
lhoestq d6147dd
style
lhoestq 16d9dc9
rename to finetune_rag
lhoestq a080425
style
lhoestq 611568c
update readme
lhoestq 9652768
rename utils and callbacks to utils_rag and callbacks_rag
lhoestq ae0c3a3
fix test
lhoestq 22ce5d5
patrick's comments
lhoestq 45e733d
generate dummy data in the finetue test script
lhoestq b40c6f1
remove dummy data files
lhoestq 0a71fa0
style
lhoestq 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why go from 0 to 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I changed that to speed the the test and forgot to remove it. I can just modify the validation frequency