mirror of
https://github.com/p-e-w/heretic.git
synced 2026-10-01 16:31:28 -07:00
feat: modifier plugins + ARA (#446)
* feat: add modifier base class * feat: re-implement abliteration as a modifier plugin * fix: adjust good/bad prompts hack to match tests * feat: support dataset specifications containing multiple individual datasets * feat: re-implement ARA as a modifier plugin Arbitrary-Rank Ablation (ARA) (Weidmann 2026) was originally introduced by @p-e-w in #211 Co-authored-by: kabachuha <artemkhrapov2001@yandex.ru> Co-authored-by: joninco <joninco@bullpoint.org> Co-authored-by: Ashar <coder3101@users.noreply.github.com> * feat: add tests for ARA * feat: reduce default number of trials * ci: remove broken "semantic-pull-request" workflow * ci: add yet another alternative model hash --------- Co-authored-by: kabachuha <artemkhrapov2001@yandex.ru> Co-authored-by: joninco <joninco@bullpoint.org> Co-authored-by: Ashar <coder3101@users.noreply.github.com>
This commit is contained in:
co-authored by
kabachuha
joninco
Ashar
parent
71e6d5eb38
commit
662e4ba27e
@@ -44,15 +44,6 @@ dependencies = [
|
||||
"transformers[kernels]~=5.6",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
research = [
|
||||
"geom-median~=0.1",
|
||||
"imageio~=2.37",
|
||||
"matplotlib~=3.10",
|
||||
"pacmap~=0.8",
|
||||
"scikit-learn~=1.7",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.14.5",
|
||||
|
||||
Reference in New Issue
Block a user