hn.today

Repository Is Maintained by the New Official Heretic Community

github.com205 points30 comments
Screenshot of Repository Is Maintained by the New Official Heretic Community

Heretic is an open-source tool for changing the behavior of language models without conventional training. It uses contrasting prompts, scoring systems and mathematical model modifications to target traits such as refusal behavior, verbosity, humor, sycophancy or stylistic “slop.” Its repository is now maintained by a community described as the project’s new official community. The tool is intended for models that fit on a user’s own hardware, supports a broad range of dense, multimodal, mixture-of-experts and hybrid models, and offers ready-made configuration files as well as options for custom behavior.

Heretic optimizes model modifications against configurable scorer plugins, including refusal-rate and KL-divergence scorers. It uses Optuna’s TPE optimizer and provides two modification methods: its default arbitrary-rank ablation and directional ablation, commonly called abliteration. Users install it in a Python environment, run it on a chosen model, then save or upload the result, test it in chat or run benchmarks. The README says a 4-billion-parameter Qwen model takes roughly 30-40 minutes on an RTX 3090 with default settings. Heretic can also package detailed instructions and a manifest for reproducing a model; the community’s “Grimoire” collects these manifests so models can be recreated without repeating the original multi-hour modification process.

Read on github.com30 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Enough RoPE

Enough RoPE

RoPE encodes token positions by rotating query and key dimensions, but large rotations may force models to learn to ignore noisy positional signals. Experiments suggest those signals matter for exact long-distance recall but have little effect on ordinary prose, supporting approaches that limit or filter RoPE rotations. (ianbarber.blog)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.