Commit Graph
3 Commits
Author SHA1 Message Date
Joseph Magly b1375cafd5 feat(obliterate): global refusal direction and chat-template override
The published refusal-ablation recipe takes one direction from a single
layer and removes it from every edited writer. obliterate could only
extract a separate direction per layer for refusal; --extraction-layer
rejected refusal runs. On Llama-3.1-8B-Instruct per-layer edits barely
moved refusal, and the raw-text basic preset made benign prompts refuse.

- --extraction-layer / extraction_layer now selects a global scope for
  refusal: after DISTILL, every strong layer's direction and subspace are
  replaced by the unit direction extracted at that layer (rank 1), so
  EXCISE and the embedding projection remove one shared direction. The
  scope and layer are recorded in method_config (direction_scope,
  refusal_extraction_layer). Non-refusal concepts behave as before.
- --chat-template / --no-chat-template override the preset's prompt
  formatting for extraction (default: preset). Remote runs reject the
  override before connecting, as their builder cannot forward it.
2026-11-19 09:07:59 -05:00
LLMsherpa 263854cb12 fix: count resident load storage once and classify method outcomes 2026-10-26 12:23:30 -04:00
LLMsherpa ac6d92abc7 fix: preserve scored candidates across search, refinement and tournament replay 2026-10-25 21:52:42 -04:00