CoolFace
Modelpublic

llmfan46/Nex-N2-mini-ultra-uncensored-heretic-GGUF

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
6likes1.3kdownloads
Model Card

<div style="background-color: #ff4444; color: white; padding: 20px; border-radius: 10px; text-align: center; margin: 20px 0;"> <h2 style="color: white; margin: 0 0 10px 0;">๐Ÿšจโš ๏ธ I HAVE REACHED HUGGING FACE'S FREE STORAGE LIMIT โš ๏ธ๐Ÿšจ</h2> <p style="font-size: 18px; margin: 0 0 15px 0;">I can no longer upload new models unless I can cover the cost of additional storage.<br>I host <b>70+ free models</b> as an independent contributor and this work is unpaid.<br><b>Without your support, no more new models can be uploaded.</b></p> <p style="font-size: 20px; margin: 0;"> <a href="https://patreon.com/LLMfan46" style="color: white; text-decoration: underline;">๐ŸŽ‰ Patreon (Monthly)</a> &nbsp;|&nbsp; <a href="https://ko-fi.com/llmfan46" style="color: white; text-decoration: underline;">โ˜• Ko-fi (One-time)</a> </p> <p style="font-size: 16px; margin: 10px 0 0 0;">Every contribution goes directly toward Hugging Face storage fees to keep models free for everyone.</p> </div>


93% fewer refusals (5/100 Uncensored vs 74/100 Original) while preserving model quality (0.0020 KL divergence).

โค๏ธ Support My Work

Creating these models takes significant time, work and compute. If you find them useful consider supporting me:

image/png

PlatformLinkWhat you get
๐ŸŽ‰ PatreonMonthly supportPriority model requests
โ˜• Ko-fiOne-time tipMy eternal gratitude

Your help will motivate me and would go into further improving my workflow and coverings fees for storage, compute and may even help uncensoring bigger model with rental Cloud GPUs.


GGUF quantizations of llmfan46/Nex-N2-mini-ultra-uncensored-heretic.

This is a decensored version of a nex-agi/Nex-N2-mini, made using Heretic v1.2.0 with a variant of the Magnitude-Preserving Orthogonal Ablation (MPOA) method

Abliteration parameters

ParameterValue
direction_index16.68
attn.out_proj.max_weight1.11
attn.out_proj.max_weight_position29.79
attn.out_proj.min_weight0.83
attn.out_proj.min_weight_distance26.98
mlp.down_proj.max_weight1.94
mlp.down_proj.max_weight_position29.92
mlp.down_proj.min_weight1.84
mlp.down_proj.min_weight_distance26.37
attn.o_proj.max_weight1.65
attn.o_proj.max_weight_position29.28
attn.o_proj.min_weight1.36
attn.o_proj.min_weight_distance23.64

Targeted components

  • โ€”attn.o_proj
  • โ€”attn.out_proj
  • โ€”mlp.down_proj

Performance

MetricThis modelOriginal model ([Nex-N2-mini](https://huggingface.co/nex-agi/Nex-N2-mini))
KL divergence<span style="color:darkgoldenrod">0.0020</span>0 (by definition)
Refusalsโœ… <span style="color:darkgreen">5/100</span>โŒ <span style="color:blue">74/100</span>

Lower refusals indicate fewer content restrictions, while lower KL divergence indicates more closeness to the original model's baseline. Higher refusals cause more rejections, objections, pushbacks, lecturing, censorship, softening and deflections.


Quantizations

For the K-quants below, small SSM tensors are kept at higher precision where useful.

-Q6_K keeps ssm_alpha, ssm_beta, and ssm_out as Q8_0.

-Q5_K, Q4_K, and Q3_K quants keep ssm_alpha and ssm_beta as Q8_0, while ssm_out is kept as Q6_K.

This helps preserve the hybrid/SSM blocks with a small file-size increase.

FilenameQuantDescription
Nex-N2-mini-ultra-uncensored-heretic-BF16.ggufBF16Full precision
Nex-N2-mini-ultra-uncensored-heretic-Q8_0.ggufQ8_0Near-lossless, recommended
Nex-N2-mini-ultra-uncensored-heretic-Q6_K.ggufQ6_KExcellent quality
Nex-N2-mini-ultra-uncensored-heretic-Q5KM.ggufQ5KMGood balance
Nex-N2-mini-ultra-uncensored-heretic-Q5KS.ggufQ5KSSmaller Q5
Nex-N2-mini-ultra-uncensored-heretic-Q4KM.ggufQ4KMGood for limited VRAM
Nex-N2-mini-ultra-uncensored-heretic-Q4KS.ggufQ4KSSmaller Q4
Nex-N2-mini-ultra-uncensored-heretic-Q3KL.ggufQ3KLLow VRAM, decent quality
Nex-N2-mini-ultra-uncensored-heretic-Q3KM.ggufQ3KMLow VRAM, smaller

Vision Projector

FilenameQuantDescription
Nex-N2-mini-ultra-uncensored-heretic-mmproj-BF16.ggufBF16Native precision

A Vision Projector File is Required for vision/multimodal capabilities. Use alongside any quantization above.

Usage

Works with llama.cpp, LM Studio, Ollama, and other GGUF-compatible tools.


<div align="center"> <img src="./figures/NEX_logo.svg" width="20%"/> </div>


<div align="center"> ๐Ÿค— <a href="https://hf.co/collections/nex-agi/nex-n2"><b>Model</b></a>&nbsp&nbsp | &nbsp&nbsp ๐Ÿ”€ <a href="https://openrouter.ai/nex-agi/Nex-N2-Pro:free"><b>OpenRouter (Enjoy two weeks free starting June 9!)</b></a>&nbsp&nbsp | &nbsp&nbsp ๐Ÿ’ป <a href="https://github.com/nex-agi/Nex-N2"><b>Github</b></a>&nbsp&nbsp | &nbsp&nbsp ๐Ÿงญ <a href="https://www.modelscope.cn/collections/nex-agi/Nex-N2"><b>ModelScope</b></a>&nbsp&nbsp | &nbsp&nbsp ๐Ÿš€ <a href="https://nex-agi.com"><b>Nex-AGI</b></a> </div>

Nex-N2

An agentic model with Agentic Thinking.

Today, we are officially releasing and open-sourcing our next-generation model, Nex-N2 โ€” an agent model built for real-world productivity scenarios. With first-tier coding and agentic capabilities, Nex-N2 keeps driving complex, long-horizon tasks forward in real environments to deliver stable, end-to-end results.

Over the past year, a paradigm shift led by Vibe Coding and Harness Engineering has been redefining the limits of LLM agents. From dialogue, to reasoning, to agents that execute long-horizon tasks with environmental feedback, the tasks models must handle keep growing harder, the contexts longer, and the environments more realistic. The core of next-generation model competition is no longer whether a model can think, but whether it can reliably and efficiently turn thinking into actions that are executable, verifiable, and iterable.

Rather than treating reasoning, tool use, and environment execution as separate capabilities, Nex-N2 unifies them through an Agentic Thinking framework that connects requirement understanding, task planning, code implementation, environmental feedback, evaluation and debugging, and continuous iteration into a single closed loop. The framework has two parts:

  • โ€”Adaptive Thinking lets the model decide on its own when to think and how deeply โ€” executing simple actions quickly while reasoning thoroughly on critical decisions.
  • โ€”Coherent Thinking carries one consistent reasoning paradigm across general reasoning and diverse agentic tasks, staying consistent across tasks and modalities to enable stable capability transfer.

Across real agentic workflows โ€” agentic coding, deep research, tool calling, and terminal execution โ€” Nex-N2 reaches first-tier performance, with substantial gains over the previous-generation Nex-N1 on multiple authoritative benchmarks. In real productivity scenarios such as OpenClaw one-person-company workflows, end-to-end game development, and web and multimodal generation, it likewise demonstrates outstanding usability, robustness, and stability.

Open Source

In keeping with our commitment to open source, we are releasing both Nex-N2-Pro and Nex-N2-mini as open-source models starting today.

We welcome developers and enterprises to integrate and try Nex-N2 and share their feedback.

Performance

We evaluate Nex-N2 in real agentic workflows along three directions โ€” agentic tasks, coding tasks, and general tasks โ€” covering benchmarks across tool calling, search-based decision-making, software engineering, and terminal execution. Nex-N2-Pro delivers strong performance that keeps pace with top-tier models such as GPT-5.5 and Opus 4.7: it excels at coding (e.g., 75.3 on Terminal-Bench 2.1) and long-horizon tasks (1585 on GDPval), and shows especially strong generalization and competitiveness on newer benchmarks like SWE-Atlas and DeepSWE. On general capability and core reasoning, it stands on par with leading frontier models.

[image]

Nex-N2 ships in two variants, both post-trained on the Qwen3.5 series: Nex-N2-Pro (built on Qwen3.5-397B-A17B) and Nex-N2-mini (built on Qwen3.5-35B-A3B-Base), covering different latency and quality trade-offs. The table below reports their scores alongside leading proprietary and open models across our full evaluation suite.

Benchmark**Nex-N2-mini****Nex-N2-Pro**GPT-5.5Opus 4.7Kimi-K2.6GLM-5.1MiniMax M3DeepSeek-V4-Pro
Agent
BrowseComp74.183.784.479.883.279.383.583.4
GDPval140215851769175314811535-1554
Toolathlon33.351.955.652.850.040.7-51.8
WildClawBench47.753.558.262.2-48.2-43.7
WideSearch62.075.6--80.8---
TAU365.971.1---70.6--
Coding & SWE
SWE-Bench Pro50.258.858.664.358.658.459.055.4
Terminal-Bench 2.160.775.383.469.7-58.766.072.0
DeepSWE8.033.670542418-8
SWE-Bench Verified74.480.882.987.680.2-80.580.6
SWE Atlas QnA31.537.945.445.2--37.9-
SWE Atlas RF30.032.944.848.6----
SWE Atlas TW23.340.042.638.2--30.8-
General & Reasoning
GPQA Diamond82.690.793.694.290.586.2-90.1
IFEval89.194.0--94.594.5-91.9
Apex9.436.5--24.011.5-38.3

Usage

Local Deployment

Note: For the best performance with Nex-series models, we recommend serving them with our customized sglang fork.

First, install our sglang fork:

bash
# Use the customized `sglang` fork
git clone https://github.com/nex-agi/sglang.git
cd sglang

# Install the python packages
pip install --upgrade pip
pip install -e "python"
Nex-N2-Pro

Launch the server (example on two 8ร— H100 servers with CUDA 13.0):

bash
# Multi-node (2 nodes). Run the same command on every node with:
#   <node-rank> = 0 on the head node, 1 on the other node
#   <node0-ip>  = IP of the head node (reachable from all others)
python -m sglang.launch_server \
  --model-path /path/to/your/model  \
  --tp 16 \
  --nnodes 2 \
  --node-rank <node-rank> \
  --dist-init-addr <node0-ip>:20000 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --mamba-scheduler-strategy extra_buffer
Nex-N2-mini

Launch the server (example on one 2ร— H100 server with CUDA 13.0):

bash
python -m sglang.launch_server \
  --model-path /path/to/your/model  \
  --tp 2 \
  --reasoning-parser qwen3 \
  --tool-call-parser qwen3_coder \
  --mamba-scheduler-strategy extra_buffer

Docker Deployment

We also provide a prebuilt Docker image with our customized sglang fork preinstalled: `nexagi/sglang:v0.5.12`. The launch command is the same as above.

Nex-N2-Pro
bash
# Multi-node (2 nodes). Run the same command on every node with:
#   <node-rank> = 0 on the head node, 1 on the other node
#   <node0-ip>  = IP of the head node (reachable from all others)
docker run --gpus all --shm-size 32g --network host \
  -v /path/to/your/model:/model \
  nexagi/sglang:v0.5.12 \
  python3 -m sglang.launch_server \
    --model-path /model \
    --tp 16 \
    --nnodes 2 \
    --node-rank <node-rank> \
    --dist-init-addr <node0-ip>:20000 \
    --host 0.0.0.0 --port 30000 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --mamba-scheduler-strategy extra_buffer
Nex-N2-mini

Single node with 2ร— H100:

bash
docker run --gpus all --shm-size 32g --ipc=host \
  -p 30000:30000 \
  -v /path/to/your/model:/model \
  nexagi/sglang:v0.5.12 \
  python3 -m sglang.launch_server \
    --model-path /model \
    --tp 2 \
    --host 0.0.0.0 --port 30000 \
    --reasoning-parser qwen3 \
    --tool-call-parser qwen3_coder \
    --mamba-scheduler-strategy extra_buffer

Recommended Sampling Parameters

For the best generation quality, we recommend the following sampling parameters:

  • โ€”temperature: 0.7
  • โ€”top_p: 0.95
  • โ€”top_k: 40

Function Calling

Nex-series models support robust function-calling capabilities. To enable function calling, add the --tool-call-parser qwen3_coder flag when launching the server:

bash
python -m sglang.launch_server --model-path /path/to/your/model --tool-call-parser qwen3_coder

Reasoning Parser

Nex-series models emit explicit reasoning traces. Add the --reasoning-parser qwen3 flag to parse the reasoning content separately from the final response. It can be combined with the function-calling parser above:

bash
python -m sglang.launch_server --model-path /path/to/your/model --tool-call-parser qwen3_coder --reasoning-parser qwen3