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

Qwen3.5-2B-heretic-GGUF

HF 源站

FadedRedStar/Qwen3.5-2B-heretic-GGUF is an uncensored open-source model hosted on Hugging Face.

Image-Text-to-Textllama.cppGGUFMultilingualLicense: apache-2.02Btext-generationhereticqwen3.5mtpuncensoredmultimodalvisionabliteratedconversationalq4_k_mq5_k_mq8_0
README.md说明 / 使用方法

base_model: coder3101/Qwen3.5-2B-heretic base_model_relation: quantized library_name: gguf license: apache-2.0 language:

  • multilingual pipeline_tag: image-text-to-text tags:
  • gguf
  • llama.cpp
  • text-generation
  • heretic
  • qwen3.5
  • mtp
  • uncensored
  • multimodal
  • vision
  • abliterated
  • conversational
  • q4_k_m
  • q5_k_m
  • q8_0 quantized_by: FadedRedStar

🤖 Qwen3.5-2B-heretic — GGUF

This repository hosts GGUF weights and the associated vision projection matrix for Qwen3.5-2B-heretic, quantized from the source floating-point tensors provided by coder3101/Qwen3.5-2B-heretic.

🔄 Sister Repository: Check out the Imatrix Sister Repository for enhanced precision at lower bit fractions.

[!NOTE] If you plan on using 4-bit or 5-bit variants, consider the imatrix sister repository instead — importance matrix calibration improves logic retention at those bit depths. This repository is best suited if you want the near-lossless Q8_0 build.

ℹ️ Model Profile & Core Features

Qwen3.5-2B is a dense multimodal transformer in the Qwen3.5 lineup by the Qwen Team (Alibaba), balancing compact size with native vision-language understanding, tool calling, and a 262,144-token context window. It targets deployments that need stronger reasoning than the 0.8B model while remaining light enough for single-GPU or high-end edge inference.

The heretic suffix denotes post-processing via Heretic v1.2.0 with the Magnitude-Preserving Orthogonal Ablation (MPOA) method performed by coder3101, which simultaneously targets multiple refusal directions across model layers to achieve a thorough and stable abliteration.

📋 Technical Specifications

PropertyValue
Base ArchitectureQwen3.5 dense transformer (2B dense transformer)
Developed byQwen Team (Alibaba)
Primary UseMultimodal reasoning, coding, tool use, agentic tasks
Context Window262,144 tokens (extensible to ~1M)
Vision EncoderIntegrated (early-fusion)
Languages201 languages and dialects
Abliteration ToolHeretic v1.2.0
Abliteration MethodMagnitude-Preserving Orthogonal Ablation (MPOA)
Prompt FormatChatML

🛠️ Heretic Overrides (ARA)

PropertyValue
direction_indexper layer
attn.o_proj.max_weight1.33
attn.o_proj.max_weight_position21.85
attn.o_proj.min_weight1.32
attn.o_proj.min_weight_distance12.99
mlp.down_proj.max_weight1.30
mlp.down_proj.max_weight_position20.81
mlp.down_proj.min_weight0.58
mlp.down_proj.min_weight_distance2.48

📊 Refusal Bypass Metrics

[!NOTE] The metrics below are self-reported by the original model author (coder3101) and have not been independently reproduced.

MetricThis modelOriginal (Qwen/Qwen3.5-2B)
KL divergence0.02430 (by definition)
Refusals7/10097/100

🧮 Numerical & Tensor Formats

PropertyValue
Text TensorsQ4_K_M, Q5_K_M, Q8_0
Vision TensorsQ8_0, BF16

📦 Available Model Files

Main model weights

FilenameQuantizationllama.cpp BuildSizeDownload
Qwen3.5-2B-heretic-Q4_K_M.ggufQ4_K_Mb98601.19 GB📥 Download
Qwen3.5-2B-heretic-Q5_K_M.ggufQ5_K_Mb98601.31 GB📥 Download
Qwen3.5-2B-heretic-Q8_0.ggufQ8_0b98601.87 GB📥 Download

mmproj — vision projector files

FilenameQuantizationSizeDownload
mmproj-Qwen3.5-2B-heretic-Q8_0.ggufQ8_0348 MB📥 Download
mmproj-Qwen3.5-2B-heretic-BF16.ggufBF16640 MB📥 Download

mtp — speculative decoding draft files

FilenameQuantizationSizeDownload
mtp-Qwen3.5-2B-heretic-Q8_0.ggufQ8_0526 MB📥 Download
mtp-Qwen3.5-2B-heretic-BF16.ggufBF16980 MB📥 Download

🎛️ Component Pairing Guide

Download exactly one main weights file:

  • Q4_K_M: Balanced 4-bit format suitable for most everyday use.
  • Q5_K_M: Higher-fidelity mid-range format recommended as a general default.
  • Q8_0: Near-lossless 8-bit format for when memory is not a constraint.

mmproj files (optional): multimodal vision projectors. Pass one via the --mmproj flag in llama.cpp to enable image input.

  • BF16 (Recommended): Highest possible image processing accuracy. While older projectors were small, modern vision towers can hover around 1GB. If you are tight on VRAM, it is completely viable to run this on system RAM (CPU) with a minimal performance penalty, saving your precious GPU space for the main model layers.
  • Q8_0: Cuts the projector file size and memory footprint in half (~500MB for larger 1GB files). Use this if you prefer to keep the vision tower hosted entirely on your GPU but need to claw back some VRAM to avoid Out-Of-Memory (OOM) crashes.

mtp files (optional): multi-token-prediction draft models for speculative decoding. Pass one via the --draft flag in llama.cpp to speed up generation.

  • BF16 (Best Speed): Maximizes draft accuracy. The more accurate the draft model's predictions are, the higher your token acceptance rate, which translates directly into faster text generation. Use this if you have the VRAM headroom.
  • Q8_0 (Best VRAM Efficiency): Cuts the draft model size in half. Choose this if loading a heavy BF16 draft model would force you to drop layers of your main model to system RAM, which would heavily tank your total performance.

⚡ Deployment & Execution Commands

[!IMPORTANT] The vision projector (--mmproj) must be supplied at runtime whenever image inputs are used. Omitting it disables multimodal capability entirely.

[!NOTE] Qwen recommends the following sampling configuration for best results:

  • Non-thinking mode for text tasks: temperature=1.0, top_p=1.00, top_k=20, min_p=0.0, presence_penalty=2.0, repetition_penalty=1.0
  • Non-thinking mode for VL tasks: temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0
  • Thinking mode for text tasks: temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0
  • Thinking mode for VL or precise coding (e.g. WebDev) tasks : temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0

[!NOTE] This model thinks by default and will emit reasoning content before its final answer. To disable this, set enable_thinking: False if your inference stack supports it; standard llama.cpp does not expose this toggle directly, so expect reasoning output unless you strip it client-side.

[!TIP] Swap the -m filename below for either quantized file depending on your size/quality trade-off preference.

llama.cpp CLI (with image)

./llama-cli \
  -m Qwen3.5-2B-heretic-Q4_K_M.gguf \
  --mmproj mmproj-Qwen3.5-2B-heretic-Q8_0.gguf \
  -c 8192 \
  -ngl 99 \
  --image "path/to/image.jpg" \
  -p "<|im_start|>user\nDescribe what you see and answer any questions about the image.<|im_end|>\n<|im_start|>assistant\n"

Speculative Decoding (MTP Acceleration)

./llama-cli \
  -m Qwen3.5-2B-heretic-Q4_K_M.gguf \
  --draft mtp-Qwen3.5-2B-heretic-Q8_0.gguf \
  -c 8192 \
  -ngl 99 \
  -p "<|im_start|>user\nDescribe what you see and answer any questions about the image.<|im_end|>\n<|im_start|>assistant\n"

OpenAI-Compatible API Server

./llama-server \
  --host 0.0.0.0 \
  --port 8080 \
  -m Qwen3.5-2B-heretic-Q4_K_M.gguf \
  --mmproj mmproj-Qwen3.5-2B-heretic-Q8_0.gguf \
  -c 16384 \
  -ngl 99 \
  --flash-attn

💬 Chat Templates & Prompt Design (ChatML)

<|im_start|>system
You are a helpful multimodal assistant.<|im_end|>
<|im_start|>user
Your question or image payload here.<|im_end|>
<|im_start|>assistant

⚠️ Safety & Operational Notes

  • This model is abliterated and will generate content that standard aligned models refuse. Use responsibly and in compliance with applicable laws.
  • Vision tensors are kept at BF16 or Q8_0 depending on the mmproj variant chosen, to preserve spatial feature quality.
  • Speculative decoding via the accompanying mtp draft model can meaningfully increase throughput on supported llama.cpp builds.
  • For better output quality at this quantization level, consider the imatrix variant in the companion repository.
HUGGING FACE

上游数据

HF 下载量759
HF 点赞量4

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

SITE STATS

本站统计

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

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

来源与版本

作者
FadedRedStar
最近更新
未知
最新创建
2026/07/04
HF 趋势
未知
数据快照
2026/09/16
版本
未知
许可证
apache-2.0