How to use from
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 MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/MedDocAI/Spark-X2.6-4B-GGUF:Q4_K_M
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Spark-X2.6-4B GGUF (Q6_K, Q4_K_M) — MedDocAI re-host

Spark-X2.6-4B Q6_K GGUF: quantized by bartowski from XHToken/Spark-X2.6-4B; redistributed unmodified by MedDocAI. Licensed under Apache-2.0; Copyright 2026 XHToken.

Spark-X2.6-4B Q4_K_M GGUF: quantized by bartowski from XHToken/Spark-X2.6-4B; redistributed unmodified by MedDocAI. Licensed under Apache-2.0; Copyright 2026 XHToken.

File Size sha256
Spark-X2.6-4B-Q6_K.gguf 3,611,148,928 B 3a57c7c781fa8faa3ff20dc144acc04c2d63a3a01ad8a5504ed97655169db3a3
Spark-X2.6-4B-Q4_K_M.gguf 2,621,104,768 B 30b77e2ede85c37da7071048c91fcf47c3e8cbfad51971640530f8ba9753301a
  • Original model: https://huggingface.co/XHToken/Spark-X2.6-4B (Apache-2.0; base XHToken/Spark-X2.6-4B-Base).
  • Quantization: https://huggingface.co/bartowski/Spark-X2.6-4B-GGUF (that repo carries no LICENSE file, so this re-host carries XHToken's LICENSE verbatim, as Apache-2.0 §4(a) requires).
  • The weights are not modified. Each file above is the exact file MedDocAI measured (Q6_K: SPEC-183, #749 / #759 / #761; Q4_K_M: SPEC-187, #750 / #880).
  • MedDocAI is not endorsed by XHToken (Apache-2.0 §6).
Downloads last month
333
GGUF
Model size
4B params
Architecture
spark2_5
Hardware compatibility
Log In to add your hardware

4-bit

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support