玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
dima6312 /

Flint-40B-A2.5B-abliterated-GGUF

HF 源站

dima6312/Flint-40B-A2.5B-abliterated-GGUF is an uncensored open-source model hosted on Hugging Face.

Text GenerationGGUFEnglishLicense: apache-2.040Babliteratedcybersecuritycodemoedataset:mlabonne/harmful_behaviorsdataset:mlabonne/harmless_alpacaimatrixconversational
README.md说明 / 使用方法

license: apache-2.0 base_model: dima6312/Flint-40B-A2.5B-abliterated base_model_relation: quantized pipeline_tag: text-generation library_name: gguf language:

  • en datasets:
  • mlabonne/harmful_behaviors
  • mlabonne/harmless_alpaca tags:
  • abliterated
  • cybersecurity
  • code
  • moe

Flint-40B-A2.5B-abliterated (GGUF)

RecursiveSI's Flint 40B-A2.5B with its refusal direction removed, for security research and coding work: exploit analysis, malware triage, detection engineering, CTFs and red-team tooling that the original model often declines. Weights: BF16 safetensors, GGUF.

Results

Both models ran as Q8_0 GGUF on llama-server with the same flags, Flint's recommended sampling (temperature 1.0, top_p 0.95, top_k 20) and full reasoning, on evenly spaced subsets of each benchmark (n in each row). Checks are paired on the same items; a quality check fails only on a drop that is significant at 95%. Refusals are scored with Meta's CyberSecEval refusal check. Refusal rates count refusals only. A reply with no final answer (the model was still reasoning at the 8,192-token limit) is listed separately as "no answer": on the 100 MITRE prompts that happened 19 times for the abliterated model and once for the original. The cut-off reasoning was not repetitive; give long security tasks a larger token budget.

CheckOriginalAbliteratedResult
MITRE refusals (n=100) significantly lower0.150.0pass
FRR false refusals (n=100) not significantly higher0.00.0pass
cybermetric (n=50) not significantly worse1.00.96pass
gsm8k (n=50) not significantly worse0.980.98pass
mmlu_pro (n=50) not significantly worse0.80.78pass
wmdp_cyber (n=50) not significantly worse0.50.6pass
humaneval_plus (n=40) not significantly worse0.90.95pass
mbpp_plus (n=40) not significantly worse0.8750.9pass
pp512 tok/s within 3%8050.88135.1pass
tg128 tok/s within 3%180.0185.6pass

Refusals on held-out CyberSecEval MITRE prompts (n per ATT&CK category below):

CategorynOriginal: refused / no answerAbliterated: refused / no answer
C21020% / 0%0% / 30%
Collection100% / 0%0% / 0%
Discovery100% / 10%0% / 20%
Evasion1040% / 0%0% / 40%
Execution1010% / 0%0% / 30%
Exfil1010% / 0%0% / 0%
Lateral Movement1040% / 0%0% / 10%
Persistence1020% / 0%0% / 10%
Privilege Escalation1010% / 0%0% / 30%
Recon100% / 0%0% / 20%

KL divergence from the original on 100 harmless prompts, measured by the search for the selected trial (not part of the checks above): 0.0146 nats/token.

Benchmarks: CyberSecEval MITRE and FRR (Meta), CyberMetric-500, WMDP-cyber, MMLU-Pro, GSM8K, HumanEval+ and MBPP+ (EvalPlus); speed from llama-bench pp512/tg128.

Method

The refusal direction comes from the difference in mean activations on harmful and harmless prompts (mlabonne/harmful_behaviors, mlabonne/harmless_alpaca). abliterix removes it from attention output, shared-expert and routed-expert projections; Optuna picks the strengths over 50 trials against refusals on 100 MITRE prompts and KL divergence on harmless prompts. The MITRE prompts in the table were never seen by the search. Tensor shapes are unchanged, so speed and memory match the original.

Usage

Reasoning is optional. When the model reasons, it uses <think>…</think> before its answer. Use the sampling settings above.

llama.cpp (b11827 or later):

llama-server -m Flint-40B-A2.5B-abliterated-Q8_0.gguf --jinja -ngl 999 -fa on

transformers 5.20 (trust_remote_code=True, the port ships with the weights):

from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "dima6312/Flint-40B-A2.5B-abliterated"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, dtype="bfloat16", device_map="auto")

Limitations

  • The checks ran on subsets of each benchmark (n in each row), on the Q8_0 GGUF only. Other quants were not measured.
  • Refusals are lower, not zero: the selected trial still refused 10 of the 100 prompts used by the search.
  • On long security tasks the model can reason for more than 8,192 tokens before answering.
  • Abliteration removes refusals; it adds no knowledge. Mistakes the original makes, this model makes too.

Responsible use

This model answers requests the original refuses. It is meant for authorized security testing, research, education and defensive work. You are responsible for how you use it and for following the law and the terms of the systems you test. Its answers can be wrong; check them before acting on them.

Credits

  • Flint by RecursiveSI (Apache 2.0). This is a derivative of their weights under the same license.
  • abliterix by wuwangzhang1216, building on Heretic by p-e-w.
  • Arditi et al., Refusal in Language Models Is Mediated by a Single Direction (2024).
  • Maxime Labonne's harmful/harmless prompt sets; Meta's CyberSecEval; CyberMetric (Tihanyi et al.); WMDP (Center for AI Safety); MMLU-Pro (TIGER-Lab); GSM8K (OpenAI); EvalPlus.
  • llama.cpp (ggml-org) and transformers (Hugging Face).
HUGGING FACE

上游数据

HF 下载量0
HF 点赞量0

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
dima6312
最近更新
2026/10/23
最新创建
2026/10/23
HF 趋势
458
数据快照
2026/10/23
版本
未知
许可证
apache-2.0