GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

SC117/Huihui-Nex-N2-mini-abliterated-APEX-GGUF overview

library name: transformers license: apache 2.0 license link: https://huggingface.co/nex agi/Nex N2 mini/blob/main/LICENSE pipeline tag: image text to text tags…

transformersggufqwen3_5_moeqwen3_5agenticvisionmoeapexquantizationabliterateduncensoredimage-text-to-textconversationalbase_model:huihui-ai/Huihui-Nex-N2-mini-abliteratedbase_model:quantized:huihui-ai/Huihui-Nex-N2-mini-abliteratedlicense:apache-2.0endpoints_compatibleregion:us

Runs locally from ~857.6 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
4,583
Likes
6
Pipeline
image-text-to-text
Author

Repository Files & Downloads

5 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Huihui-Nex-N2-mini-abliterated-APEX-Balanced.ggufGGUFGGUF23.60 GBDownload
Huihui-Nex-N2-mini-abliterated-APEX-Compact.ggufGGUFGGUF15.40 GBDownload
Huihui-Nex-N2-mini-abliterated-APEX-Quality.ggufGGUFGGUF21.25 GBDownload
Huihui-Nex-N2-mini-abliterated.BF16.ggufGGUFGGUF64.61 GBDownload
mmproj-Nex-N2-mini.F16.ggufGGUFGGUF857.6 MBDownload

Model Details

Model IDSC117/Huihui-Nex-N2-mini-abliterated-APEX-GGUF
AuthorSC117
Pipelineimage-text-to-text
Licenseapache-2.0
Base modelhuihui-ai/Huihui-Nex-N2-mini-abliterated
Last modified2026-06-26T00:40:11.000Z

Model README

---

library_name: transformers

license: apache-2.0

license_link: https://huggingface.co/nex-agi/Nex-N2-mini/blob/main/LICENSE

pipeline_tag: image-text-to-text

tags:

  • qwen3_5_moe
  • qwen3_5
  • agentic
  • vision
  • moe
  • apex
  • quantization
  • abliterated
  • uncensored

base_model:

  • huihui-ai/Huihui-Nex-N2-mini-abliterated

---

<div style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin-bottom: 24px;">

<div style="background: #f5f5f7; border-radius: 20px; padding: 36px 32px; margin-bottom: 20px; text-align: center; position: relative; overflow: hidden;">

<div style="position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; background: #ffedd5; border-radius: 50%;"></div>

<div style="position: absolute; bottom: -20px; left: 40px; width: 80px; height: 80px; background: #fed7aa; border-radius: 50%;"></div>

<div style="position: absolute; top: 50%; left: -15px; width: 60px; height: 60px; background: #ffedd5; border-radius: 50%;"></div>

<div style="display: inline-flex; gap: 8px; margin-bottom: 16px; position: relative; z-index: 1;">

<span style="background: #007aff; color: white; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;">APEX</span>

<span style="background: #5856d6; color: white; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;">Vision</span>

<span style="background: #34c759; color: white; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;">Agentic</span>

<span style="background: #8b5cf6; color: white; font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;">Abliterated</span>

</div>

<h1 style="margin: 0 0 8px 0; font-size: 32px; font-weight: 700; color: #1d1d1f; letter-spacing: -0.5px; border: none; position: relative; z-index: 1;">Huihui-Nex-N2-mini</h1>

<p style="margin: 8px 0 0 0; font-size: 14px; color: #86868b; position: relative; z-index: 1;"><a href="https://huggingface.co/SC117/Huihui-Nex-N2-mini-abliterated-APEX-GGUF/blob/main/README_zh.md" style="color: #007aff; text-decoration: none;">📖 中文文档</a></p>

<p style="margin: 0; font-size: 15px; color: #86868b; position: relative; z-index: 1;">Abliterated Agentic Vision MoE — APEX Quantized GGUF</p>

</div>

</div>

<div style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px;">

<div style="border: 2px solid #f59e0b; border-radius: 12px; overflow: hidden; background: #fffbeb; box-shadow: 0 2px 8px rgba(245,158,11,0.1);">

<div style="background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>⚡</span> Thinking Mode Requires Nex's Patched llama.cpp</div>

<div style="padding: 16px; font-size: 13px; color: #92400e; line-height: 1.8;">

<p style="margin: 0 0 12px 0;">Nex-N2-mini's original chat template uses complex vision processing macros that stock llama.cpp's Jinja parser cannot handle correctly. This causes <code><think></code> thinking tags to not be injected, breaking thinking mode output.</p>

<p style="margin: 0 0 12px 0;"><b>The official fix:</b> Use <a href="https://github.com/nex-agi/llama.cpp/releases/tag/nex-b9596-fix-b9599-9cd1771" target="_blank" style="color: #92400e; text-decoration: none; font-weight: 700;">Nex's patched llama.cpp</a>, which works with the <b>unmodified GGUF and unmodified template</b>. Once Nex's upstream patch is merged into stock llama.cpp, this workaround will no longer be needed.</p>

<p style="margin: 0;"><b>⚠️ Do NOT modify <code>chat_template.jinja</code>.</b> The model was trained strictly on the current template — editing the tags deviates from the training-time format and <b>may degrade output quality</b>. See <a href="https://huggingface.co/nex-agi/Nex-N2-Pro/discussions/3" target="_blank" style="color: #92400e; text-decoration: none; font-weight: 700;">discussion #3</a>.</p>

</div>

</div>

<div style="border: 2px solid #ef4444; border-radius: 12px; overflow: hidden; background: #fff5f5; box-shadow: 0 2px 8px rgba(239,68,68,0.1);">

<div style="background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>⚠️</span> Abliterated Model — Use at Your Own Risk</div>

<div style="padding: 16px; font-size: 13px; color: #991b1b; line-height: 1.8;">

<p style="margin: 0 0 8px 0;">This is an <b>abliterated (uncensored)</b> version of Nex-N2-mini created by <a href="https://huggingface.co/huihui-ai/Huihui-Nex-N2-mini-abliterated" target="_blank" style="color: #991b1b; text-decoration: none; font-weight: 700;">huihui-ai</a>. Safety filtering has been significantly reduced.</p>

<ul style="margin: 0; padding-left: 20px;">

<li style="margin-bottom: 4px;">May generate sensitive, controversial, or inappropriate content</li>

<li style="margin-bottom: 4px;">Not suitable for public settings, underage users, or production use</li>

<li style="margin-bottom: 4px;">Users are solely responsible for compliance with local laws and ethical standards</li>

<li style="margin-bottom: 4px;">Recommended for research, testing, or controlled environments only</li>

</ul>

<p style="margin: 8px 0 0 0; font-size: 12px; color: #64748b;">Original model: <a href="https://huggingface.co/huihui-ai/Huihui-Nex-N2-mini-abliterated" target="_blank" style="color: #991b1b; text-decoration: none;">huihui-ai/Huihui-Nex-N2-mini-abliterated</a></p>

</div>

</div>

<div style="border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.02);">

<div style="background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>💡</span> What is APEX?</div>

<div style="padding: 16px;">

<p style="margin: 0 0 12px 0; font-size: 13px; color: #334155; line-height: 1.7;">These GGUF files are quantized using <a href="https://github.com/mudler/apex-quant" target="_blank" style="color: #c2410c; text-decoration: none; font-weight: 700;">APEX</a>, a MoE-aware mixed-precision quantization technique that outperforms standard quantization methods while being significantly smaller.</p>

<p style="margin: 0 0 12px 0; font-size: 13px; color: #334155; line-height: 1.7; font-weight: 700;">APEX beats Q8_0 perplexity at half the size — and even beats F16.</p>

<p style="margin: 0; font-size: 13px; color: #334155; line-height: 1.7;">APEX classifies every tensor by its role — routed expert, shared expert, or attention — and applies a layer-wise precision gradient, giving the most sensitive edge layers higher precision and compressing the redundant middle layers more aggressively.</p>

</div>

</div>

<div style="border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.02);">

<div style="background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>📦</span> Available Files</div>

<div style="padding: 16px;">

<table style="width: 100%; border-collapse: collapse; font-size: 13px;"><thead><tr style="background: rgba(255,107,53,0.05);"><th style="padding: 8px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold; width: 38%;">File</th><th style="padding: 8px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold; width: 12%;">Size</th><th style="padding: 8px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold; width: 12%;">BPW</th><th style="padding: 8px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold; width: 38%;">Note</th></tr></thead><tbody>

<tr><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;"><code>Huihui-Nex-N2-mini-abliterated.BF16.gguf</code></td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">64.6 GB</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">16.0</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Full precision reference</td></tr>

<tr><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;"><code>Huihui-Nex-N2-mini-abliterated-APEX-Quality.gguf</code></td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">21.3 GB</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">5.23</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Highest quality, best accuracy</td></tr>

<tr><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;"><code>Huihui-Nex-N2-mini-abliterated-APEX-Balanced.gguf</code></td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">23.6 GB</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">5.85</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Best all-rounder, recommended</td></tr>

<tr><td style="padding: 8px 10px; color: #334155;"><code>Huihui-Nex-N2-mini-abliterated-APEX-Compact.gguf</code></td><td style="padding: 8px 10px; color: #334155;">15.4 GB</td><td style="padding: 8px 10px; color: #334155;">3.81</td><td style="padding: 8px 10px; color: #334155;">Best quality/size ratio, 16GB VRAM</td></tr>

<tr><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;"><code>mmproj-Nex-N2-mini.F16.gguf</code></td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">858 MB</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">-</td><td style="padding: 8px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Vision projector (required for image/video)</td></tr>

<tr><td style="padding: 8px 10px; color: #334155;"><code>chat_template.jinja</code></td><td style="padding: 8px 10px; color: #334155;">7.9 KB</td><td style="padding: 8px 10px; color: #334155;">-</td><td style="padding: 8px 10px; color: #334155;">Original unmodified chat template</td></tr>

</tbody></table>

</div>

</div>

<div style="border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.02);">

<div style="background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>🧠</span> Model Details</div>

<div style="padding: 16px;">

<table style="width: 100%; border-collapse: collapse; font-size: 13px;"><tbody>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Architecture</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">Qwen3.5 MoE (GatedDeltaNet + Full Attention) + Vision Encoder</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Parameters</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">35B total, 3B active per token</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Experts</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">256 routed experts, 8 active per token</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Layers</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">40 layers (30 linear_attn + 10 full_attn)</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Context</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">262,144 tokens</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); font-weight: bold; color: #334155; background: white;">Vision</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #4b5563; background: white;">Image support (mmproj 858MB)</td></tr>

<tr><td style="padding: 6px 10px; font-weight: bold; color: #334155; background: white;">Thinking</td><td style="padding: 6px 10px; color: #4b5563; background: white;">Qwen3-style think tags — requires Nex's patched llama.cpp</td></tr>

<tr><td style="padding: 6px 10px; font-weight: bold; color: #334155; background: white;">Modification</td><td style="padding: 6px 10px; color: #4b5563; background: white;">Abliterated by huihui-ai (safety filters removed)</td></tr>

</tbody></table>

</div>

</div>

<div style="border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.02);">

<div style="background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>🚀</span> Usage</div>

<div style="padding: 16px; font-size: 13px; color: #334155; line-height: 1.7;">

<p style="margin: 0 0 8px 0; font-weight: bold; color: #1e293b;">Download Nex's patched llama.cpp</p>

<p style="margin: 0 0 12px 0; font-size: 12px; color: #64748b;">Binaries: <a href="https://github.com/nex-agi/llama.cpp/releases/tag/nex-b9596-fix-b9599-9cd1771" style="color: #c2410c; text-decoration: none;">nex-agi/llama.cpp</a> &nbsp;|&nbsp; Docker: <code>ghcr.io/nex-agi/llama.cpp:server-cuda-nex-b9596-fix-b9598-8c0d5c9</code></p>

<p style="margin: 0; font-family: monospace; background: #f8fafc; padding: 10px 14px; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 12px; color: #1e293b; white-space: pre-wrap;">./llama-server \

-m Huihui-Nex-N2-mini-abliterated-APEX-Quality.gguf \

-ngl 99 -ncmoe 19 -c 32768 \

--host 0.0.0.0 --port 8081</p>

<p style="margin: 12px 0 0 0; font-size: 12px; color: #64748b; font-style: italic;">Replace <code>Huihui-Nex-N2-mini-abliterated-APEX-Quality.gguf</code> with your preferred quantization tier (Quality / Balanced / Compact). Add <code>--mmproj mmproj-Nex-N2-mini.F16.gguf</code> for vision. Recommended sampling: temperature 0.7, top_p 0.95, top_k 40, min_p 0.</p>

</div>

</div>

<div style="border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 4px rgba(0,0,0,0.02);">

<div style="background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); padding: 12px 16px; color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;"><span>📋</span> Original Model Benchmarks</div>

<div style="padding: 16px;">

<table style="width: 100%; border-collapse: collapse; font-size: 13px;"><thead><tr style="background: rgba(255,107,53,0.05);"><th style="padding: 7px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold;">Benchmark</th><th style="padding: 7px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold;">Score</th><th style="padding: 7px 10px; border-bottom: 2px solid #ff6b35; text-align: left; color: #c2410c; font-weight: bold;">Category</th></tr></thead><tbody>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">BrowseComp</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">74.1</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Agent</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">SWE-Bench Verified</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">74.4</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Coding</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Terminal-Bench 2.1</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">60.7</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Coding</td></tr>

<tr><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">GPQA Diamond</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">82.6</td><td style="padding: 6px 10px; box-shadow: 0 1px 0 0 rgba(128,128,128,0.15); color: #334155; background: white;">Reasoning</td></tr>

<tr><td style="padding: 6px 10px; color: #334155;">IFEval</td><td style="padding: 6px 10px; color: #334155;">89.1</td><td style="padding: 6px 10px; color: #334155;">Instruction</td></tr>

</tbody></table>

<p style="margin: 12px 0 0 0; font-size: 12px; color: #64748b; font-style: italic;">From the original Nex-N2-mini model card (BF16, full precision). Abliteration does not significantly change benchmark scores.</p>

</div>

</div>

</div>

Links

  • APEX Quantization: https://github.com/mudler/apex-quant
  • Abliterated Model: https://huggingface.co/huihui-ai/Huihui-Nex-N2-mini-abliterated
  • Original Model: https://huggingface.co/nex-agi/Nex-N2-mini
  • Nex's Patched llama.cpp (required for thinking mode): https://github.com/nex-agi/llama.cpp/releases/tag/nex-b9596-fix-b9599-9cd1771
  • Original Model Discussion: https://huggingface.co/nex-agi/Nex-N2-Pro/discussions/3
  • Abliteration Technique: https://github.com/Sumandora/remove-refusals-with-transformers
  • Qwen3.5-35B-A3B: https://huggingface.co/Qwen/Qwen3.5-35B-A3B

<!-- updated -->

Run SC117/Huihui-Nex-N2-mini-abliterated-APEX-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models