mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #149] Unable to load datasets saved with save_to_disk #89
Labels
No labels
bug
enhancement
enhancement
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
p-e-w/heretic#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nishtahir on GitHub (Feb 13, 2026).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/149
Datasets saved with
save_to_diskappear to be saved asDatasetDicts by default. From what I can tell the dict is what holds the splits. However,github.com/p-e-w/heretic@6017bcd347/src/heretic/utils.py (L175)seems to require that we pass in the inner split directly but the following read instruction requires the split to be set. Unless i'm missing something this prevents loading saved datasets all together.@nishtahir commented on GitHub (Feb 14, 2026):
Found a workaround which I believe may have been the intended behavior.
save_to_diskto save the dataset with yourtrain,testsplits.datasetin your configdataset=<path>/trainNoneas thesplitin the configsplit=None[:<your count>]