mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[PR #33] [MERGED] Improve support for loading local datasets #247
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#247
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?
📋 Pull Request Information
Original PR: https://github.com/p-e-w/heretic/pull/33
Author: @spikymoth
Created: 11/21/2025
Status: ✅ Merged
Merged: 11/23/2025
Merged by: @p-e-w
Base:
master← Head:no-dataset-checks📝 Commits (2)
5664ee4Handle loading local datasets21bd91cReorder branches to avoid chain of negatives📊 Changes
1 file changed (+36 additions, -2 deletions)
View changed files
📝
src/heretic/utils.py(+36 -2)📄 Description
When passing a local dataset, having to keep the numbers in
README.mdup-to-date as you edit it can get pretty annoying. The split verification performed byVerificationMode.BASIC_CHECKSalso isn't that useful. as it'll happily use a cached version as long as the number of examples hasn't changed (so if you fix typos, for example, it won't pick up on that).This change adds option
no_dataset_checksto turn off those checks, but also bypass the cache to avoid using an outdated version. It makes the prompt loading a bit more verbose, but lets you tinker with the dataset without having to regenerate the metadata or manually adjust the numbers.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.