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

ngquocvinh/Spark-X2.5-4B-GGUF overview

Spark X2.5 4B GGUF Community GGUF quantizations of XHToken/Spark X2.5 4B https://huggingface.co/XHToken/Spark X2.5 4B . <div align="center" style="background c…

llama.cppggufspark2_5quantizedtext-generationconversationalenzhbase_model:XHToken/Spark-X2.5-4Bbase_model:quantized:XHToken/Spark-X2.5-4Blicense:apache-2.0endpoints_compatibleregion:usimatrix

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

Downloads
6,241
Likes
4
Pipeline
text-generation

Repository Files & Downloads

18 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Spark-X2.5-4B-IQ1_M.ggufGGUFIQ1_M1.20 GBDownload
Spark-X2.5-4B-IQ2_XS.ggufGGUFIQ2_XS1.39 GBDownload
Spark-X2.5-4B-IQ3_M.ggufGGUFIQ3_M1.90 GBDownload
Spark-X2.5-4B-IQ3_S.ggufGGUFIQ3_S1.84 GBDownload
Spark-X2.5-4B-IQ4_NL.ggufGGUFIQ4_NL2.31 GBDownload
Spark-X2.5-4B-IQ4_XS.ggufGGUFIQ4_XS2.21 GBDownload
Spark-X2.5-4B-Q1_0.ggufGGUFQ1_0774.8 MBDownload
Spark-X2.5-4B-Q2_K.ggufGGUFQ2_K1.66 GBDownload
Spark-X2.5-4B-Q2_K_S.ggufGGUFQ2_K_S1.56 GBDownload
Spark-X2.5-4B-Q3_K_L.ggufGGUFQ3_K_L2.23 GBDownload
Spark-X2.5-4B-Q3_K_M.ggufGGUFQ3_K_M2.02 GBDownload
Spark-X2.5-4B-Q4_K_M.ggufGGUFQ4_K_M2.42 GBDownload
Spark-X2.5-4B-Q5_K_M.ggufGGUFQ5_K_M2.77 GBDownload
Spark-X2.5-4B-Q5_K_S.ggufGGUFQ5_K_S2.68 GBDownload
Spark-X2.5-4B-Q6_K.ggufGGUFQ6_K3.15 GBDownload
Spark-X2.5-4B-Q8_0.ggufGGUFQ8_04.07 GBDownload
reproducibility/spark25_combined.imatrix.ggufGGUFGGUF3.4 MBDownload
reproducibility/spark25_release_combined.imatrix.ggufGGUFGGUF3.4 MBDownload

Model Details

Model IDngquocvinh/Spark-X2.5-4B-GGUF
Authorngquocvinh
Pipelinetext-generation
Licenseapache-2.0
Base modelXHToken/Spark-X2.5-4B
Last modified2026-09-13T13:47:33.000Z

Model README

---

license: apache-2.0

language:

  • en
  • zh

base_model: XHToken/Spark-X2.5-4B

base_model_relation: quantized

library_name: llama.cpp

pipeline_tag: text-generation

tags:

  • gguf
  • llama.cpp
  • spark2_5
  • quantized
  • text-generation

---

Spark-X2.5-4B GGUF

Community GGUF quantizations of XHToken/Spark-X2.5-4B.

<div align="center" style="background-color:#f59e0b;color:#ffffff;padding:16px 20px;border-radius:10px;line-height:1.7;">

☕ If this GGUF made your day easier, a coffee would make mine.<br>

<a href="https://ko-fi.com/ngquocvinh" style="color:#ffffff;"><strong style="color:#ffffff;">Send a coffee ☕</strong></a><br>

I build and test these releases myself. Your coffee helps keep me going.<br>

Thank you for supporting this work.

</div>

About Spark-X2.5-4B

Spark-X2.5-4B is a compact, general-purpose language model developed by SparkLLM. According to the upstream authors, the model is designed for:

  • General-purpose capabilities: conversation, writing, translation, reasoning, and coding
  • Tool use and agentic workflows
  • Native context window of up to 1M tokens
  • More than 200 supported languages
  • Efficient hybrid attention: one full-attention layer combined with three sliding-window attention layers
  • Broad ecosystem support: llama.cpp, vLLM, SGLang, MLX, Ollama, and LM Studio

The upstream model is also designed for broad hardware compatibility and efficient long-context inference.

For the original model architecture, training details, benchmarks, and official usage instructions, see the official model card.

This repository is a quantization-only release for local inference. No model training or fine-tuning was performed.

Recommended quantized profiles

These are three practical starting points, all excluding the BF16 reference:

| Profile | Choose it when |

|---|---|

| Spark-X2.5-4B-Q8_0.gguf | You want the closest practical profile to the BF16 reference. |

| Spark-X2.5-4B-Q4_K_M.gguf | You want the main size/quality balance. |

| Spark-X2.5-4B-Q2_K.gguf | You need a smaller profile and accept a larger fidelity trade-off. |

Fidelity measurements

The table below compares every published GGUF file with the BF16 reference on

a held-out WikiText-2 evaluation: eight chunks from wiki.test.raw and eight

chunks from wiki.valid.raw, using a 4,096-token context and the same Spark

llama.cpp runtime. Values are averaged across the two splits. The BF16

reference mean PPL was 20.718057 in this evaluation. Lower Mean KLD, ΔPPL, and

RMS Δp, and higher Top-1 agreement, indicate closer next-token behavior to

BF16. These are next-token fidelity measurements, not a direct percentage of

capabilities retained and not a substitute for task-specific evaluation.

| File | Mean KLD ↓ | Top-1 vs BF16 ↑ | ΔPPL | RMS Δp |

|---|---:|---:|---:|---:|

| Spark-X2.5-4B-Q8_0.gguf | 0.005110 | 97.219% | −0.770% | 1.803% |

| Spark-X2.5-4B-Q6_K.gguf | 0.020056 | 93.689% | −2.333% | 3.402% |

| Spark-X2.5-4B-Q5_K_M.gguf | 0.057362 | 89.332% | +1.693% | 5.748% |

| Spark-X2.5-4B-Q5_K_S.gguf | 0.066414 | 88.541% | −0.175% | 6.175% |

| Spark-X2.5-4B-Q4_K_M.gguf | 0.151599 | 83.009% | +4.698% | 8.766% |

| Spark-X2.5-4B-Q3_K_M.gguf | 0.303065 | 76.429% | +22.339% | 12.197% |

| Spark-X2.5-4B-Q2_K.gguf | 0.904467 | 60.469% | +89.737% | 21.993% |

| Spark-X2.5-4B-IQ4_XS.gguf | 0.166476 | 82.248% | +8.917% | 9.248% |

| Spark-X2.5-4B-IQ4_NL.gguf | 0.160332 | 82.514% | +7.958% | 9.113% |

| Spark-X2.5-4B-IQ3_M.gguf | 0.363476 | 73.510% | +17.084% | 14.386% |

| Spark-X2.5-4B-IQ3_S.gguf | 0.424754 | 71.733% | +12.067% | 15.217% |

| Spark-X2.5-4B-Q3_K_L.gguf | 0.258238 | 78.081% | +24.321% | 11.409% |

| Spark-X2.5-4B-Q2_K_S.gguf | 1.582512 | 51.261% | +202.887% | 29.706% |

| Spark-X2.5-4B-IQ2_XS.gguf | 2.931449 | 30.453% | +895.742% | 42.489% |

| Spark-X2.5-4B-IQ1_M.gguf | 6.530486 | 7.194% | +31,288.455% | 52.605% |

| Spark-X2.5-4B-Q1_0.gguf | 12.363455 | 0.000% | +5,913,223.270% | 55.296% |

The machine-readable results are available in

reproducibility/quality-summary.tsv,

with corpus hashes, evaluation settings, calibration provenance, and runtime

details in reproducibility/manifest.md.

Quick start

./llama-cli \
  -m Spark-X2.5-4B-Q4_K_M.gguf \
  --chat-template-file chat_template.jinja \
  --jinja \
  -p 'Answer briefly in English: What is GGUF and why is it useful for running language models locally?' \
  -n 128 -c 4096 -ngl 99

Reproducibility and validation

This is a quantization-only release: no training or fine-tuning was performed.

The BF16 source, runtime revision, clean calibration split, importance matrix,

quantization commands, checksums, and validation profile are recorded in the

reproducibility/ package. All 16 published files passed

load/generate validation on an NVIDIA A10M.

License and attribution

The upstream model is released under Apache License 2.0. Preserve the upstream attribution and license when redistributing these derivative files. This is a community GGUF quantization, not an official XHToken/SparkLLM release or endorsement.

Checksums are available in SHA256SUMS.txt.

Run ngquocvinh/Spark-X2.5-4B-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