We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently Loader only loads the entire dataset into memory all at once. This might not be ideal for very large datasets.
Loader
It wouldn't be too hard to add a streaming option by modifying these lines to zip and yield:
zip
yield
ExplainaBoard/explainaboard/loaders/loader.py
Lines 148 to 151 in 08b0665
But this would also require checking throughout the codebase that the downstream usage of this function is not assuming a list, but an iterable.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently
Loader
only loads the entire dataset into memory all at once. This might not be ideal for very large datasets.It wouldn't be too hard to add a streaming option by modifying these lines to
zip
andyield
:ExplainaBoard/explainaboard/loaders/loader.py
Lines 148 to 151 in 08b0665
But this would also require checking throughout the codebase that the downstream usage of this function is not assuming a list, but an iterable.
The text was updated successfully, but these errors were encountered: