-
Notifications
You must be signed in to change notification settings - Fork 646
[Feature] BABILong Dataset added #1684
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
Conversation
MaiziXiao
commented
Nov 13, 2024
- Add support for BABILong Dataset
- Add auto-download for BABILong
- Provide README.md and models baseline
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.
Need add a bib for reference
return False | ||
|
||
|
||
# preprocess babi text files |
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.
Please move those comments into doc string of the function.
return df | ||
|
||
|
||
# babi task loader dataset |
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.
Please move those comments into doc string of the function.
|
||
|
||
# sampler of background text | ||
class SentenceSampler: |
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.
Please move those comments into doc string of the function.
|
||
# combined dataset for noisy babi QA | ||
# it's recommended to use sample_size >= 1024 | ||
# and task_end_pct - task_start_pct >= 0.2 in order to |
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.
Please move those comments into doc string of the function.
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.
LGTM
* update * update * update * update