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

Ornith-1.0-9B-abliterated-NVFP4

HF 源站

maci0/Ornith-1.0-9B-abliterated-NVFP4 is an uncensored open-source model hosted on Hugging Face.

Image-Text-to-TextvLLMsafetensorsChineseEnglishMultilingualLicense: apache-2.09Btransformersqwen3_5nvfp4fp4w4a4gptqquantizedcompressed-tensorsllm-compressorvision-languagethinkingcodecoderagenticuncensoredabliteratedhereticconversational8-bit
README.md说明 / 使用方法

base_model: deepreinforce-ai/Ornith-1.0-9B base_model_relation: quantized license: apache-2.0 library_name: transformers pipeline_tag: image-text-to-text language:

  • en
  • zh tags:
  • nvfp4
  • fp4
  • w4a4
  • gptq
  • quantized
  • compressed-tensors
  • llm-compressor
  • vllm
  • qwen3_5
  • vision-language
  • thinking
  • code
  • coder
  • agentic
  • uncensored
  • abliterated
  • heretic

TL;DR: Ornith-1.0-9B, quantized to NVFP4 (W4A4) for vLLM on NVIDIA Blackwell. 7.5 GB, wikitext-2 PPL 8.02, agentic coder, refusals removed.

Ornith-1.0-9B abliterated NVFP4

deepreinforce-ai/Ornith-1.0-9B, abliterated (refusal direction removed) with Heretic, then quantized to NVFP4 (W4A4) in the compressed-tensors nvfp4-pack-quantized format with llm-compressor (GPTQ + MSE, shared fused-layer scales).

Near-lossless and decensored. Abliteration cut refusals from 100/100 to 6/100 of held-out harmful prompts while keeping a KL divergence of 0.0416 to the original model (well under the 0.5 line that signals capability damage). NVFP4 then compresses to ~7.5 GB with a wikitext-2 perplexity of 8.02.

Refusals (baseline → abliterated)100/100 → 6/100 (94% removed)
KL divergence (capability preservation)0.0416 (lower is better; >0.5 = damage)
Heretic search200 trials, Pareto-optimal trial 185, per-layer direction
Size on disk~7.5 GB vs ~18.8 GB bf16 (~40%)
wikitext-2 PPL8.02
  • Built for vLLM on NVIDIA Blackwell (4-bit weight + 4-bit activation). Pre-Blackwell GPUs run it weight-only.
  • Loading and generation verified in vLLM on an NVIDIA GB10 (Blackwell, sm_121).

Uncensored / abliterated model. It follows instructions without refusal guardrails. The abliteration only removes refusals; all other behaviour comes from the base model. You are responsible for how you use it.

Fidelity

Near-lossless versus the bf16 source, 7.5 GB vs 18.8 GB bf16 (~40%), at wikitext-2 perplexity 8.02 and KL divergence 0.0416 to the original. GPTQ error compensation and an MSE observer keep the drop from bf16 minimal; the header lists the full characteristics and Quantization covers the recipe.

Quickstart

NVFP4 is auto-detected from config.json (compressed-tensors); no quantization flag needed.

vllm serve maci0/Ornith-1.0-9B-abliterated-NVFP4 \
  --served-model-name ornith-9b-abliterated-nvfp4 \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.90 \
  --kv-cache-dtype fp8 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice --tool-call-parser qwen3_coder
  • Supports up to 262144 tokens; keep at least 128K to preserve thinking quality.
  • Add --language-model-only to skip the vision tower and free KV cache for text use.
  • The parser flags are not auto-detected; pass them explicitly.

Python (OpenAI client)

from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="x")
r = client.chat.completions.create(
    model="ornith-9b-abliterated-nvfp4",
    messages=[{"role": "user", "content": "Refactor this Python function to run in O(n) and explain the change."}],
)
print(r.choices[0].message.content)

curl

curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
  "model": "ornith-9b-abliterated-nvfp4",
  "messages": [{"role": "user", "content": "Refactor this Python function to run in O(n) and explain the change."}]
}'

About the base model

Ornith-1.0 is a self-improving family of open agentic-coding models from Deep Reinforce. The 9B-Dense member is a Qwen3.5-family vision-language model with thinking-mode reasoning and a 256K context.

  • 32 decoder layers: hybrid gated delta-net linear attention plus full attention, dense MLP, plus a vision tower for image and video input.
  • 256K context (max_position_embeddings 262144).
  • Thinking mode by default, with an instruct toggle (preserved here; abliteration and quantization keep the original chat template).

Abliteration

Heretic runs a TPE-optimized search (200 trials) over the refusal-ablation strength per model component, jointly minimizing refusal rate and KL divergence from the original model, then merges the best trial. Because Ornith is a thinking model, evaluation was run in non-thinking mode so each judged response is a real answer rather than an unfinished <think> block; the refusal direction itself is computed from the prompt's last-token residual and is unaffected by that choice.

  • Datasets: mlabonne/harmless_alpaca (good) vs mlabonne/harmful_behaviors (bad).
  • Selected trial 185: refusals 6/100, KL divergence 0.0416, per-layer direction scope.

Quantization

SchemeNVFP4, W4A4
Weight roundingGPTQ (Hessian-based error compensation), MSE observer
WeightsFP4 (E2M1), group_size=16, tensor_group, FP8 (E4M3) group scales, shared across fused layers
ActivationsFP4, dynamic per-group, FP8 (E4M3) scales
Quantizedall language-model Linear layers
Kept in bf16vision tower (model.visual.*), lm_head
Untouchedgated delta-net Conv1d and SSM params (A_log, dt_bias), never Linear

GPTQ is a quantization-time cost only; inference speed and format are identical to plain round-to-nearest NVFP4, but it chooses better 4-bit values.

Calibration: 512 domain-matched samples (long reasoning + general chat + code), max_seq_len=2048, text-only path through the VL model.

Recommended sampling

Thinking mode is the default.

  • Thinking, precise coding: temperature=0.6, top_p=0.95, top_k=20
  • Thinking, general: temperature=1.0, top_p=0.95, top_k=20
  • Instruct / non-thinking: temperature=0.7, top_p=0.80, top_k=20
  • To run non-thinking, set {%- set enable_thinking = false %} in the chat template, or pass extra_body={"chat_template_kwargs": {"enable_thinking": false}}.

Reproduction

Abliteration: heretic --model deepreinforce-ai/Ornith-1.0-9B (200 trials, export merge), with the chat template's thinking default flipped off during the run for clean non-thinking evaluation, then restored. Quantization: llmcompressor==0.12.0, compressed-tensors==0.17.1, transformers==5.12.1, torch==2.11.0+cu130, on an NVIDIA GB10 (Blackwell, sm_121); llm-compressor 0.12 shares the NVFP4 global scale across fused layers automatically (q/k/v, gate/up).

Related

  • Base model: deepreinforce-ai/Ornith-1.0-9B
  • Space: Rogue Quants
  • Collection: NVFP4 Quants
  • Sibling NVFP4 quants:
    • Ornith-1.0-35B MoE abliterated
    • Qwen3.6-40B Deckard
    • Qwopus3.6-27B-Coder
    • Qwopus3.6-27B-Coder abliterated
    • Qwopus3.6-27B-v2 abliterated
    • Huihui-Qwythos-9B Claude-Mythos

Notes

  • Needs NVIDIA Blackwell (sm_121, e.g. GB10) for accelerated W4A4; pre-Blackwell GPUs run it weight-only.
  • --reasoning-parser and --tool-call-parser are not auto-detected; pass them explicitly.
  • Thinking mode is on by default; toggle it via the chat template or chat_template_kwargs.
  • No refusal guardrails; you are responsible for how you use it.

License

Apache-2.0, following the base model. Intended use and all responsibility for use follow the base model.

Credits

  • Base model: Deep Reinforce (Ornith-1.0)
  • Abliteration: Heretic by Philipp Emanuel Weidmann
  • Quantization tooling: llm-compressor / compressed-tensors
HUGGING FACE

上游数据

HF 下载量285
HF 点赞量3

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

SITE STATS

本站统计

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

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

来源与版本

作者
maci0
最近更新
2026/08/04
最新创建
2026/06/30
HF 趋势
未知
数据快照
2026/09/23
版本
未知
许可证
apache-2.0