Instructions to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin 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 Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16 # Run inference directly in the terminal: llama cli -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16 # Run inference directly in the terminal: llama cli -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin: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 Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16 # Run inference directly in the terminal: ./llama-cli -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin: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 Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
Use Docker
docker model run hf.co/Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
- LM Studio
- Jan
- vLLM
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Frosty40/Nex-N2-mini-Turbo-Phase-Twin" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Frosty40/Nex-N2-mini-Turbo-Phase-Twin", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
- Ollama
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with Ollama:
ollama run hf.co/Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
- Unsloth Desktop
- Pi
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with Docker Model Runner:
docker model run hf.co/Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
- Lemonade
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
Run and chat with the model
lemonade run user.Nex-N2-mini-Turbo-Phase-Twin-F16
List all available models
lemonade list
- Hermes Agent
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin: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 Frosty40/Nex-N2-mini-Turbo-Phase-Twin:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Frosty40/Nex-N2-mini-Turbo-Phase-Twin with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Frosty40/Nex-N2-mini-Turbo-Phase-Twin: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 "Frosty40/Nex-N2-mini-Turbo-Phase-Twin: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"
Nex-N2-mini — Turbo Phase Twin
A GGUF of Nex-N2-mini (Qwen3.5-35B-A3B MoE — ~3B active, multimodal reasoning) tuned for Intel Arc. One file carries two expert precisions; pick one at load with --sm (nothing is re-downloaded):
--sm |
precision | GPUs | resident | decode (B70) | quality (KLD vs Q6_K) |
|---|---|---|---|---|---|
| off | IQ3_A770 3.19 bpw (default) | 1× 16 GB | ~15 GiB | ~85 tok/s | 0.0547 / top-1 89.9% |
| on | Q4_K 4.5 bpw (-sm layer) |
2× 16 GB | ~18.8 GiB | bandwidth-positive | 0.0245 / 93.2% (near-lossless) |
⚠️ Requires a custom llama.cpp build — codebook-free
IQ3_A770type + a multi-precision loader, not in upstream. Stock llama.cpp can't load it. It's one patch on a pinned base; the quickstart builds it for you.
Quickstart — Docker (needs only Docker + an Intel Arc GPU)
hf download Frosty40/Nex-N2-mini-Turbo-Phase-Twin --local-dir nexn2 && cd nexn2
bash build/docker-build.sh
docker run --rm -it --device /dev/dri -v "$PWD":/models -p 8090:8080 nexn2-turbo -m /models/Nex-N2-mini-Turbo-Phase-Twin.gguf -ngl 99 --jinja --cache-ram 0 --ctx-checkpoints 0
OpenAI-compatible API on http://localhost:8090. No host oneAPI needed — the compiler + Arc runtime live in the image.
--cache-ram 0 --ctx-checkpoints 0are required — this hybrid linear-attention model goes incoherent on turn 2+ if prompt-cache / context-checkpoint restore is left on.- Two cards (Q4 phase): add
-sm layer -ts 1,1 --override-kv general.tensor_variant.default=int:1. - Bare-metal build, flags, troubleshooting:
build/BUILD.md.
Running
- Reasoning model: emits a
<think>trace — allow generousmax_tokens. Sampling (Nex-AGI):temperature 0.7, top_p 0.95, top_k 40. Vision: add--mmproj mmproj-f16.gguf. - Launcher:
./run-nx2.sh --sm autoauto-detects GPU count and sets the right flags. - Elastic fit:
./install-nx2.shdetects VRAM and prunes the dual to a right-sized single file (or load-time--override-kv general.tensor_variant.budget_mb=int:15900).
Credits & license
This is Nex-N2-mini by Nex-AGI (Apache-2.0), post-trained on Qwen3.5-35B-A3B-Base (Qwen/Alibaba, Apache-2.0) — all the intelligence is theirs; this project only quantizes it to run fast on Arc.
- llama.cpp / ggml © ggml authors (MIT) — engine, quant framework, SYCL backend; the build patch is a derivative work.
- k-quants (ikawrakow & ggml authors, MIT) —
IQ3_A770reuses Q3_K superblock packing;Q6_Kcovers non-expert tensors. NF4/QLoRA influenced the code-point design. - imatrix: Bartowski's
calibration_datav3. Eval: WikiText-2.
Released Apache-2.0 (inherited from the base model); this project's own code is MIT. Full attribution in NOTICE. Methodology & per-feature patches: github.com/newjordan/NexN2-B70-Turbo.
- Downloads last month
- 389
We're not able to determine the quantization variants.
Model tree for Frosty40/Nex-N2-mini-Turbo-Phase-Twin
Base model
nex-agi/Nex-N2-mini