Instructions to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="FreedomAISVR/Nex-N2-mini-NVFP4-GGUF", filename="mmproj-nex-n2-mini-f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16 # Run inference directly in the terminal: llama cli -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16 # Run inference directly in the terminal: llama cli -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16 # Run inference directly in the terminal: ./llama-cli -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Use Docker
docker model run hf.co/FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
- LM Studio
- Jan
- vLLM
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FreedomAISVR/Nex-N2-mini-NVFP4-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FreedomAISVR/Nex-N2-mini-NVFP4-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
- Ollama
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Ollama:
ollama run hf.co/FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
- Unsloth Studio
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for FreedomAISVR/Nex-N2-mini-NVFP4-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for FreedomAISVR/Nex-N2-mini-NVFP4-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for FreedomAISVR/Nex-N2-mini-NVFP4-GGUF to start chatting
- Pi
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Docker Model Runner:
docker model run hf.co/FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
- Lemonade
How to use FreedomAISVR/Nex-N2-mini-NVFP4-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull FreedomAISVR/Nex-N2-mini-NVFP4-GGUF:F16
Run and chat with the model
lemonade run user.Nex-N2-mini-NVFP4-GGUF-F16
List all available models
lemonade list
Nex-N2-mini-NVFP4-GGUF
GGUF quantization of nex-agi/Nex-N2-mini — a 35B MoE agentic model (3B active) built on Qwen3.5-35B-A3B-Base with 256 experts, Gated DeltaNet hybrid attention, 262K context, and 27-layer vision encoder.
Quantized to NVFP4 format for efficient inference with minimal quality loss.
About NVFP4
NVFP4 is NVIDIA's native 4-bit floating-point format (E4M3) for Blackwell GPUs. It stores weights in FP4 with a shared per-block scale, enabling native Blackwell tensor core acceleration with no dequantization overhead during inference.
Files
| Filename | Type | Size | Description |
|---|---|---|---|
nex-n2-mini-nvfp4.gguf |
GGUF (NVFP4) | 18.36 GB | Quantized text model weights |
mmproj-nex-n2-mini-f16.gguf |
F16 mmproj | 0.84 GB | Vision encoder projector (27-layer ViT, 1152 hidden) |
README.md |
Markdown | - | Model card |
Quantization Details
| Property | Value |
|---|---|
| Format | NVFP4 |
| Bits Per Weight | 4.55 BPW |
| File Size | 18.36 GB (text) + 0.84 GB (mmproj) |
| Tensor Count | 733 (text) + 334 (mmproj) |
| Architecture | qwen3_5_moe |
Model Description
- Developer: Nex AGI
- Base Model: Qwen3.5-35B-A3B-Base
- Architecture: Mixture-of-Experts (MoE) with Gated DeltaNet + full attention
- Parameters: 35B total, 3B activated per token
- Experts: 256 routed experts (8 per token) + 1 shared
- Context Length: 262,144 tokens
- Vision: 27-layer ViT encoder (1152 hidden), image-text-to-text
- Languages: English, Chinese, multilingual
- License: Apache 2.0
Usage
llama.cpp (CLI)
# Text + Image
llama-cli -m nex-n2-mini-nvfp4.gguf \
--mmproj mmproj-nex-n2-mini-f16.gguf \
--image photo.jpg \
-p "Describe this image in detail" \
-n 512
# Text only
llama-cli -m nex-n2-mini-nvfp4.gguf \
-p "Explain quantum computing in simple terms" \
-n 512
# OpenAI-compatible server
llama-server -m nex-n2-mini-nvfp4.gguf \
--mmproj mmproj-nex-n2-mini-f16.gguf \
--port 8080
llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="FreedomAISVR/Nex-N2-mini-NVFP4-GGUF",
filename="nex-n2-mini-nvfp4.gguf",
n_gpu_layers=-1,
)
response = llm.create_chat_completion([
{"role": "user", "content": "What is the capital of France?"}
])
print(response["choices"][0]["message"]["content"])
Direct download
from huggingface_hub import hf_hub_download
for filename in ["nex-n2-mini-nvfp4.gguf", "mmproj-nex-n2-mini-f16.gguf"]:
hf_hub_download(
repo_id="FreedomAISVR/Nex-N2-mini-NVFP4-GGUF",
filename=filename,
local_dir="./models"
)
Quantization Pipeline
1. Download source weights
huggingface_hub.snapshot_download("nex-agi/Nex-N2-mini")
2. Convert text model to F16 GGUF
convert_hf_to_gguf.py --outtype f16
3. Extract vision encoder
convert_hf_to_gguf.py --mmproj --outtype f16
4. Quantize to NVFP4
llama-quantize nex-n2-mini-f16.gguf nex-n2-mini-nvfp4.gguf NVFP4
Hardware
| Component | Specification |
|---|---|
| GPU | NVIDIA RTX 5060 Ti (Blackwell) |
| System RAM | 64 GB |
| Storage | NVMe |
License
Apache 2.0 — same as the original nex-agi/Nex-N2-mini.
- Downloads last month
- 652
4-bit
Model tree for FreedomAISVR/Nex-N2-mini-NVFP4-GGUF
Base model
nex-agi/Nex-N2-mini