1
0
Fork 0
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

Closed
opened 2026-11-01 04:16:42 +07:00 by bsakaguchi · 6 comments
Owner

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.

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.
bsakaguchi 2026-11-01 04:16:42 +07:00
Author
Owner

@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.

<!-- gh-comment-id:3594628947 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:3596429069 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:3599935988 --> @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.
Author
Owner

@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...

<!-- gh-comment-id:3601873374 --> @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...
Author
Owner

@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.

<!-- gh-comment-id:3630186098 --> @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.
Author
Owner

@lee-b commented on GitHub (Dec 24, 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.

I think:

  1. there are multiple reasons/directions of refusal: one for each of an overzealous lab's "safety" goals.

  2. 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).

<!-- gh-comment-id:3690234030 --> @lee-b commented on GitHub (Dec 24, 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. I think: 1) there are multiple reasons/directions of refusal: one for each of an overzealous lab's "safety" goals. 2) 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).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#29
No description provided.