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
In datasets 1.5.0 the following code snippet would have printed the cache_files:
train_data = load_dataset('conll2003', split='train', cache_dir='data') print(train_data.cache_files[0]['filename'])
However, in the newest release (1.6.1), it prints an empty list.
I also tried loading the dataset with keep_in_memory=True argument but still cache_files is empty.
keep_in_memory=True
cache_files
Was wondering if this is a bug or I need to pass additional arguments so I can access the cache_files.
The text was updated successfully, but these errors were encountered:
Thanks @bhavitvyamalik for referencing the workaround. Setting keep_in_memory=False is working.
keep_in_memory=False
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In datasets 1.5.0 the following code snippet would have printed the cache_files:
However, in the newest release (1.6.1), it prints an empty list.
I also tried loading the dataset with
keep_in_memory=True
argument but stillcache_files
is empty.Was wondering if this is a bug or I need to pass additional arguments so I can access the cache_files.
The text was updated successfully, but these errors were encountered: