-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cache does not take into consideration variables passed into prompt_func / parse_func #148
Comments
Instead, let's use From https://huggingface.co/docs/datasets/en/about_cache
|
Actually,
|
Unrelated note, dill is also sensitive to formatting
|
HuggingFace datasets caching works with a similar example
|
Another example where HF works (note how the ordering is swapped correctly)
|
https://github.com/huggingface/datasets/blob/2049c00921c59cdeb835137a1c49639cf175af07/src/datasets/utils/_dill.py#L27 https://github.com/huggingface/datasets/blob/2049c00921c59cdeb835137a1c49639cf175af07/src/datasets/fingerprint.py#L16 |
Same issue appears in #161 |
Simple examples:
It will say
x is 10.
Run it again and set
x=20
. It will hit the cache and still sayx is 10.
The text was updated successfully, but these errors were encountered: