GitHub Trending | 📄 原文链接 | 2026-11-04 收录

不训练也能改模型:用对比提示与打分器把行为拧过去

来源:GitHub — 2026-11-04 · ⭐ 38,601 stars · Python

📋 概述

Heretic 走的是"改模型"而不是"跑模型"的路线:它不做昂贵训练,而是用一组数学方法,依据对比样本提示与对应打分器来定向调整模型行为。默认动作就是压制拒答,另有去废话、去幽默、去谄媚、调情绪倾向等现成配置;支持大多数稠密模型、部分多模态模型和多种 MoE、混合架构。

🔑 核心要点

💡 金句

It does not perform expensive training; rather, it uses a collection of mathematical techniques to steer behavior based on contrasting example prompts and matching scorers.
← 返回 GitHub Trending 首页