mirror of
https://github.com/p-e-w/heretic.git
synced 2026-12-03 18:42:57 +07:00
[GH-ISSUE #59] Possible to use multiple datasets? #29
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#29
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 @Ph0rk0z on GitHub (Nov 30, 2025).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/59
Does it only use one dataset or can multiple be specified? Like one for "harmful", "NSFW", deccp, etc. Otherwise everything would have to be manually combined.
@p-e-w commented on GitHub (Dec 1, 2025):
I think dataset preprocessing is a task better left to other tools. It's trivial to combine or filter datasets using the HF Datasets library, so there's no need to turn Heretic into some kind of Swiss Army Knife that has such functionality built in.
@Ph0rk0z commented on GitHub (Dec 1, 2025):
Honestly the main thing I wanted to do was stack. In grimjim's abliterator it simply adds them together without any processing. If you know any dataset manger that isn't writing python scripts, I'm all ears.
@p-e-w commented on GitHub (Dec 2, 2025):
What exactly are the benefits of stacking multiple datasets? The original abliteration paper demonstrates that refusals in general are mediated by a single direction in residual space. There should be no need to provide datasets for different "types" of refusals, and reducing refusals for one type of prompt via ablation should reduce refusals for all other types as well.
@Ph0rk0z commented on GitHub (Dec 2, 2025):
I notice that the dataset chosen is mainly illegal activities as an assistant request but not so much NSFW. Specifically the grimjim also has an addition deccp that he added. I think a more varied dataset can narrow down the refusal direction better than feeding it one thing but could be wrong. No way to really experiment besides manually baking a local dataset in python. I mean if that's how it has to be...
@p-e-w commented on GitHub (Dec 9, 2025):
As stated above, the refusal direction should be the same for all types of prompts that are being refused.
Closing as I think this is best done using an external tool or a plugin once those are supported.
@lee-b commented on GitHub (Dec 24, 2025):
I think:
there are multiple reasons/directions of refusal: one for each of an overzealous lab's "safety" goals.
the more accurate examples of any given refusal type that you have, the better.
So for #2, you want multiple datasets per refusal direction, and for #1 you at least want to run multiple times for each type of refusal, if not have those multiple runs integrated into the tool and handled for you automatically (essentially by a loop around the current single-direction code).