Skip to content
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

Cached driven lazy loaders: load the data only when actually needed and keep in cache while in use #1536

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

dafnapension
Copy link
Collaborator

@dafnapension dafnapension commented Jan 21, 2025

And not just in order to learn the split names therefrom (at the beginning of Benchmark, for example).
Also, avoid loading splits that are ignored altogether (like stream "test" in src/unitxt/catalog/splitters/small_no_test.json)

@dafnapension dafnapension force-pushed the lazy_loadHF branch 9 times, most recently from c8dbded to 4cf6a69 Compare January 23, 2025 10:43
@dafnapension dafnapension changed the title Procrastinater loadHF Procrastinating loaders - load the data only when actually needs to stream through Unitxt Jan 23, 2025
@dafnapension dafnapension force-pushed the lazy_loadHF branch 4 times, most recently from 20834fa to 78d0927 Compare January 23, 2025 16:43
@elronbandel elronbandel changed the title Procrastinating loaders - load the data only when actually needs to stream through Unitxt Cached driven lazy loaders: load the data only when actually needed and keep in cache while in use Jan 26, 2025
@dafnapension dafnapension force-pushed the lazy_loadHF branch 3 times, most recently from e00617f to 134dd22 Compare January 26, 2025 20:40
Signed-off-by: dafnapension <[email protected]>
…ing (that is dome mocking anyhow) and not evaluating (of the mocked results). add trust_remote also to load_dataset_builder

Signed-off-by: dafnapension <[email protected]>
Signed-off-by: dafnapension <[email protected]>
@dafnapension dafnapension force-pushed the lazy_loadHF branch 2 times, most recently from 016faa4 to a4121c7 Compare January 27, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants