Image-Text-to-Text
GGUF
quantization
quantized
apex
custom-quantization
unsloth-studio
Mixture of Experts
multimodal
vision
agentic
computer-use
llama.cpp
qwen35moe
imatrix
conversational
Instructions to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF 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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
Use Docker
docker model run hf.co/IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
- LM Studio
- Jan
- vLLM
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-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": "IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-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/IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
- Ollama
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with Ollama:
ollama run hf.co/IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
- Unsloth Desktop
- Pi
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
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": "IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with Docker Model Runner:
docker model run hf.co/IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
- Lemonade
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
Run and chat with the model
lemonade run user.Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
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 IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0
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 "IsValorum/Nex-N2.5-mini-APEX-I-MiniPlus-V1-GGUF:Q8_0" \ --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"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -61,20 +61,20 @@ Most existing community quantizations are generated by automated bots that apply
|
|
| 61 |
|
| 62 |
Also, don't confuse **APEX-I-MiniPlus (Standard)** with a generic baseline APEX-I-Mini. Traditional APEX-I-Mini drops core experts aggressively to 2-bit `IQ2_S` and leaves `output.weight` at 3-bit `Q3_K_M`, which creates a noticeable perplexity hit on complex reasoning tasks. Standard MiniPlus avoids that degradation floor while keeping boundary layers in linear `Q3_K` for single-cycle vectorized AVX2 CPU dequantization (hitting 23 to 26+ tok/s on DDR4 laptops), while protecting output in `Q6_K` and routers in `F32`.
|
| 63 |
|
| 64 |
-
To put the numbers in perspective: this cuts nearly **2 GB off a flat 3-bit quant** (
|
| 65 |
|
| 66 |
Take a look at the tensor-by-tensor comparison table below to inspect the exact architectural differences and see why this specific allocation is optimal. That's specifically what this was built for:
|
| 67 |
|
| 68 |
| Architectural Component | Generic Automated Quants (Flat `Q3_K_S` / `IQ3_S`) | Generic APEX-I-Mini (Baseline Recipe) | Our Handcrafted APEX-I-MiniPlus (Standard / IsValorum) | Perceived Quality & Real-World Impact |
|
| 69 |
| :--- | :--- | :--- | :--- | :--- |
|
| 70 |
-
| **Output Head (`output.weight`)** | Flat **`IQ3_S` / `Q3_K_S`** (
|
| 71 |
-
| **Expert Routers (`ffn_gate_inp.weight`)** | Blindly quantized to 3-bit / unoptimized | Inherits base type **`Q3_K_M`** (
|
| 72 |
| **Attention & Language (`attn_output`, `attn_qkv`)** | Flat **`IQ3_S` / `Q3_K_S`** | **`Q3_K`** on 34 middle layers (L3β36), **`Q4_K`** on 6 edge layers | **`Q6_K` for `attn_output`**, **`Q3_K` / `Q4_K`** + `imatrix` | **Contextual Precision & CPU Throughput:** Combines uncompromised `Q6_K` for the output projection with fast vectorized linear blocks for attention, balancing retrieval accuracy with maximum token streaming speed on CPU/RAM. |
|
| 73 |
| **Attention Gates (`attn_gate.weight`)** | Blindly compressed to 3-bit | Compressed to **`Q3_K`** (middle) / **`Q4_K`** (edges) | **`Q8_0`** (8.50 BPW) | **Attention Head Stability:** Attention gates modulate query-key routing across hybrid attention layers. Keeping them in 8-bit prevents attention crosstalk and hallucination over long contexts. |
|
| 74 |
| **Shared Foundation Expert (`ffn_*_shexp`)** | Flat **`IQ3_S` / `Q3_K_S`** (3.44 BPW) | Linear **`Q4_K`** (middle) / **`Q5_K`** (edges) | Linear **`Q4_K`** (middle) / **`Q5_K`** (edges) + `imatrix` | **Foundational Knowledge Stability:** Keeps the universal pathway in high-fidelity linear blocks, eliminating quantization drift while maintaining rapid single-cycle dequantization. |
|
| 75 |
| **Core MoE Layers (Middle: 10β29)** | Flat **`IQ3_S` / `Q3_K_S`** (uniform bit-rate across all layers) | Aggressive **`IQ2_S` (2.50 BPW)** | **`IQ3_XXS` (3.06 BPW) + calibrated `imatrix`** | **Above the Quality Threshold:** Generic 2-bit `IQ2_S` baselines drop below the critical quality floor for 35B MoEs, resulting in perplexity spikes on reasoning tasks. Our `IQ3_XXS` with imatrix achieves deep compression (272 MiB β 98 MiB per block) without sacrificing logic. |
|
| 76 |
| **Edge MoE Layers (Layers 0β9 & 30β39)** | Flat **`IQ3_S` / `Q3_K_S`** (no layer-wise gradient) | `Q3_K` (limited to first/last 5 layers only: L0β4, L35β39) | **`Q3_K` (expanded to 10 input & 10 output layers)** | **AVX2 Single-Cycle Speed:** Expanded 10+10 layer protection using linear `Q3_K` blocks enables single-cycle vectorized AVX2 CPU dequantization, unlocking **23 to 26+ tok/s** on budget DDR4 laptops. |
|
| 77 |
-
| **Multimodal Vision (`mmproj`)** | Often omitted, or left as uncompressed **`FP16` (
|
| 78 |
| **Normalization & Biases** | Often degraded | Standard | **`F32` uncompressed** | **Numerical Stability:** Prevents cumulative floating-point underflow/overflow across deep 40-layer computation. |
|
| 79 |
|
| 80 |
---
|
|
@@ -83,7 +83,7 @@ Take a look at the tensor-by-tensor comparison table below to inspect the exact
|
|
| 83 |
## ποΈ Bundled Q8_0 High-Precision Vision Projector
|
| 84 |
|
| 85 |
Unlike text-only MoEs, Nex-N2.5-mini is designed for computer use, visual grounding, and multi-modal interaction.
|
| 86 |
-
- Rather than leaving users to search for external FP16 projectors (
|
| 87 |
- Delivers near-lossless visual recognition while saving VRAM.
|
| 88 |
|
| 89 |
---
|
|
|
|
| 61 |
|
| 62 |
Also, don't confuse **APEX-I-MiniPlus (Standard)** with a generic baseline APEX-I-Mini. Traditional APEX-I-Mini drops core experts aggressively to 2-bit `IQ2_S` and leaves `output.weight` at 3-bit `Q3_K_M`, which creates a noticeable perplexity hit on complex reasoning tasks. Standard MiniPlus avoids that degradation floor while keeping boundary layers in linear `Q3_K` for single-cycle vectorized AVX2 CPU dequantization (hitting 23 to 26+ tok/s on DDR4 laptops), while protecting output in `Q6_K` and routers in `F32`.
|
| 63 |
|
| 64 |
+
To put the numbers in perspective: this cuts nearly **2 GB off a flat 3-bit quant** (approx. 15.6 GB), and weighs only about **approx. 1 GB more than a generic APEX-I-Mini** (approx. 12.5 GB). For that single extra gigabyte of VRAM, you get a massive jump in reasoning and syntactic stability while maximizing CPU/RAM execution throughput.
|
| 65 |
|
| 66 |
Take a look at the tensor-by-tensor comparison table below to inspect the exact architectural differences and see why this specific allocation is optimal. That's specifically what this was built for:
|
| 67 |
|
| 68 |
| Architectural Component | Generic Automated Quants (Flat `Q3_K_S` / `IQ3_S`) | Generic APEX-I-Mini (Baseline Recipe) | Our Handcrafted APEX-I-MiniPlus (Standard / IsValorum) | Perceived Quality & Real-World Impact |
|
| 69 |
| :--- | :--- | :--- | :--- | :--- |
|
| 70 |
+
| **Output Head (`output.weight`)** | Flat **`IQ3_S` / `Q3_K_S`** (approx. 3.44 BPW) | Inherits base type **`Q3_K_M`** (approx. 3.44 BPW unarmored) | **`Q6_K`** (approx. 6.56 BPW uncompromised) | **Eliminates Syntax & Vocabulary Hallucinations:** Low-bit output heads cause tokenizer classification noise, breaking code indentation, brackets (`{}`, `[]`), math symbols, and domain terms. `Q6_K` preserves near-FP16 output classification. |
|
| 71 |
+
| **Expert Routers (`ffn_gate_inp.weight`)** | Blindly quantized to 3-bit / unoptimized | Inherits base type **`Q3_K_M`** (approx. 3.44 BPW compressed) | **`F32` uncompressed** (32.0 BPW, 2 MB/layer) | **Zero Router Drift:** In micro-expert models, even minuscule quantization errors in router logits misdirect tokens to wrong experts. Retaining uncompressed `F32` guarantees 100% routing fidelity with virtually zero memory overhead (approx. 80 MB total). |
|
| 72 |
| **Attention & Language (`attn_output`, `attn_qkv`)** | Flat **`IQ3_S` / `Q3_K_S`** | **`Q3_K`** on 34 middle layers (L3β36), **`Q4_K`** on 6 edge layers | **`Q6_K` for `attn_output`**, **`Q3_K` / `Q4_K`** + `imatrix` | **Contextual Precision & CPU Throughput:** Combines uncompromised `Q6_K` for the output projection with fast vectorized linear blocks for attention, balancing retrieval accuracy with maximum token streaming speed on CPU/RAM. |
|
| 73 |
| **Attention Gates (`attn_gate.weight`)** | Blindly compressed to 3-bit | Compressed to **`Q3_K`** (middle) / **`Q4_K`** (edges) | **`Q8_0`** (8.50 BPW) | **Attention Head Stability:** Attention gates modulate query-key routing across hybrid attention layers. Keeping them in 8-bit prevents attention crosstalk and hallucination over long contexts. |
|
| 74 |
| **Shared Foundation Expert (`ffn_*_shexp`)** | Flat **`IQ3_S` / `Q3_K_S`** (3.44 BPW) | Linear **`Q4_K`** (middle) / **`Q5_K`** (edges) | Linear **`Q4_K`** (middle) / **`Q5_K`** (edges) + `imatrix` | **Foundational Knowledge Stability:** Keeps the universal pathway in high-fidelity linear blocks, eliminating quantization drift while maintaining rapid single-cycle dequantization. |
|
| 75 |
| **Core MoE Layers (Middle: 10β29)** | Flat **`IQ3_S` / `Q3_K_S`** (uniform bit-rate across all layers) | Aggressive **`IQ2_S` (2.50 BPW)** | **`IQ3_XXS` (3.06 BPW) + calibrated `imatrix`** | **Above the Quality Threshold:** Generic 2-bit `IQ2_S` baselines drop below the critical quality floor for 35B MoEs, resulting in perplexity spikes on reasoning tasks. Our `IQ3_XXS` with imatrix achieves deep compression (272 MiB β 98 MiB per block) without sacrificing logic. |
|
| 76 |
| **Edge MoE Layers (Layers 0β9 & 30β39)** | Flat **`IQ3_S` / `Q3_K_S`** (no layer-wise gradient) | `Q3_K` (limited to first/last 5 layers only: L0β4, L35β39) | **`Q3_K` (expanded to 10 input & 10 output layers)** | **AVX2 Single-Cycle Speed:** Expanded 10+10 layer protection using linear `Q3_K` blocks enables single-cycle vectorized AVX2 CPU dequantization, unlocking **23 to 26+ tok/s** on budget DDR4 laptops. |
|
| 77 |
+
| **Multimodal Vision (`mmproj`)** | Often omitted, or left as uncompressed **`FP16` (approx. 900 MB)** | Often omitted or separate uncompressed `FP16` | **Bundled `Q8_0` (582 MB)** with **27 critical F32/F16 fallbacks** | **Saves approx. 320 MB VRAM with Zero Loss:** Handcrafted quantization preserves normalization and bias tensors in F32/F16, ensuring razor-sharp OCR, DOM viewport reading, and coordinate detection without visual noise. |
|
| 78 |
| **Normalization & Biases** | Often degraded | Standard | **`F32` uncompressed** | **Numerical Stability:** Prevents cumulative floating-point underflow/overflow across deep 40-layer computation. |
|
| 79 |
|
| 80 |
---
|
|
|
|
| 83 |
## ποΈ Bundled Q8_0 High-Precision Vision Projector
|
| 84 |
|
| 85 |
Unlike text-only MoEs, Nex-N2.5-mini is designed for computer use, visual grounding, and multi-modal interaction.
|
| 86 |
+
- Rather than leaving users to search for external FP16 projectors (approx. 900 MB), this repository bundles the official projector quantized to **`Q8_0` (610 MB / 582 MiB)**.
|
| 87 |
- Delivers near-lossless visual recognition while saving VRAM.
|
| 88 |
|
| 89 |
---
|