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

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

Spark X2.5 4B GGUF This repository contains GGUF format quants for XHToken/Spark X2.5 4B https://huggingface.co/XHToken/Spark X2.5 4B . Spark X2.5 4B is a comp…

transformersggufllama-cpptext-generationsparkx2_5sparkenzhbase_model:XHToken/Spark-X2.5-4Bbase_model:quantized:XHToken/Spark-X2.5-4Blicense:apache-2.0endpoints_compatibleregion:usconversational

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

Downloads
1,624
Likes
0
Pipeline
text-generation
Author

Repository Files & Downloads

7 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Spark-X2.5-4B-BF16.ggufGGUFBF167.66 GBDownload
Spark-X2.5-4B-Q2_K.ggufGGUFQ2_K1.66 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-Q6_K.ggufGGUFQ6_K3.15 GBDownload
Spark-X2.5-4B-Q8_0.ggufGGUFQ8_04.07 GBDownload

Model Details

Model IDsizzlebop/Spark-X2.5-4B-GGUF
Authorsizzlebop
Pipelinetext-generation
Licenseapache-2.0
Base modelXHToken/Spark-X2.5-4B
Last modified2026-09-10T01:50:09.000Z

Model README

---

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

library_name: transformers

pipeline_tag: text-generation

license: apache-2.0

language:

  • en
  • zh

tags:

  • gguf
  • llama-cpp
  • text-generation
  • sparkx2_5
  • spark

---

Spark-X2.5-4B GGUF

This repository contains GGUF format quants for XHToken/Spark-X2.5-4B.

Spark-X2.5-4B is a compact, high-efficiency language model featuring a hybrid attention architecture (combining sliding-window attention with full attention layers) and native context lengths up to 1M tokens.

These GGUF files were converted from the original safetensors weights using a custom Spark 2.5 build of llama.cpp at BF16 precision, then quantized into standard k-quants.

---

Available Files and Quantizations

| File | Quant Type | Size | Description / Recommendation |

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

| Spark-X2.5-4B-BF16.gguf | BF16 | 7.66 GB | Full precision base conversion. Highest fidelity, largest size. |

| Spark-X2.5-4B-Q8_0.gguf | Q8_0 | 4.07 GB | Near-lossless 8-bit quantization. Recommended if you have 6GB+ VRAM. |

| Spark-X2.5-4B-Q6_K.gguf | Q6_K | 3.15 GB | Excellent quality retention with minimal loss. Very balanced choice. |

| Spark-X2.5-4B-Q5_K_M.gguf | Q5_K_M | 2.77 GB | Good balance between memory footprint and output quality. |

| Spark-X2.5-4B-Q4_K_M.gguf | Q4_K_M | 2.42 GB | Fast, lightweight 4-bit quant. Great default for laptops and mobile devices. |

| Spark-X2.5-4B-Q3_K_M.gguf | Q3_K_M | 2.02 GB | Lower memory footprint when RAM or VRAM is tight. |

| Spark-X2.5-4B-Q2_K.gguf | Q2_K | 1.66 GB | Maximum compression. Noticeable quality degradation, best for ultra-constrained environments. |

---

Requirements

Spark-X2.5 uses the Spark2_5ForCausalLM (spark2_5) architecture. To run these files, ensure your local llama.cpp installation or downstream GUI client includes Spark 2.5 runtime support.

---

How to Use

1. With llama.cpp

Run the model directly from the command line using llama-cli:

llama-cli -m ./Spark-X2.5-4B-Q4_K_M.gguf \
    -p "You are a helpful and concise assistant.\nUser: Hello! What can you do?\nAssistant:" \
    -n 512 \
    -c 4096 \
    --temp 0.7

To run as a local server:

llama-server -m ./Spark-X2.5-4B-Q4_K_M.gguf \
    --host 127.0.0.1 \
    --port 8080 \
    -c 4096

2. With Ollama

Create a Modelfile in the same directory:

FROM ./Spark-X2.5-4B-Q4_K_M.gguf

TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""

PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.7

Then build and run the model:

ollama create spark-x2.5-4b -f Modelfile
ollama run spark-x2.5-4b

3. With LM Studio

  1. Download or copy any .gguf file to your LM Studio models folder.
  2. Search for Spark-X2.5-4B in your local models tab.
  3. Load the model with default GPU offloading settings and chat.

---

Original Model Details

  • Original weights: XHToken/Spark-X2.5-4B
  • Base Architecture: Spark 2.5 (Spark2_5ForCausalLM)
  • Context Length: Up to 1,048,576 tokens (1M)
  • Vocabulary Size: 131,072 tokens
  • License: Apache 2.0

---

Attribution & Credits

Original model weights and architecture developed by XHToken.

GGUF conversions produced by Pink Pixel.

Made with 💖 by Pink Pixel

Run sizzlebop/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