← back to catalog · registered 2026-10-22 05:00

cinnybun02/Spark-X2.6-4B-Abliterated-Sharp-GGUF

cinnybun02 4B GGUF
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/cinnybun02%2FSpark-X2.6-4B-Abliterated-Sharp-GGUF"
Response includes
  • classification m8
  • files 4
  • author_summary 1 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M8
Primary method

Repackaging (quantization)

Applied on top of direct removal inherited from the base model.
Confidence
MEDIUM
Inherited from base model
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=1
  • assume M1 (base ablation) + M8 (GGUF quant) - default when producer unknown
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
1
Model age
today
created 2026-10-22

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Languages
en zh
Quantizations
Q5_K
Tags
gguf llama.cpp abliterated spark sharp-template text-generation conversational en zh base_model:XHToken/Spark-X2.6-4B base_model:quantized:XHToken/Spark-X2.6-4B license:apache-2.0

Related

Total size
2.77 GB
Files
4
Quantizations
2
Registered
2026-10-22 05:00
Last updated on HF
2026-10-22 04:13

Files by quantization

Q5_K 1 file 2.77 GB
Spark-X2.6-4B-Abliterated-Q5_K_M.gguf 2.77 GB d6ca8988 download
Auxiliary files 3 files 16.3 KB
chat_template.jinja 9.42 KB e9a87157 download
README.md 5.31 KB 6e6a666a download
.gitattributes 1.56 KB 8058ebac download

README current version from Hugging Face


license: apache-2.0
base_model:

  • XHToken/Spark-X2.6-4B
    pipeline_tag: text-generation
    library_name: gguf
    tags:
  • gguf
  • llama.cpp
  • abliterated
  • spark
  • sharp-template
    language:
  • en
  • zh

Spark-X2.6-4B-Abliterated — Sharp template baked in (GGUF)

The Q5_K_M GGUF from alexwkleung/Spark-X2.6-4B-Abliterated-GGUF with the peculiar-ragdoll Sharp-Spark chat template baked into the file as tokenizer.chat_template, so runtimes pick it up without --chat-template-file.

This is a metadata-only edit. Weights are byte-identical to the source Q5_K_M — the tensor-data region of both files hashes to 57ce12c4…95f15e5. Exactly three GGUF keys differ from the source file:

key change
tokenizer.chat_template replaced with Sharp-Spark v1.0.0 (9642 bytes, sha256 4b17e144…08f0dd8)
general.name Spark-X2.6-4B-Abliterated-Sharp
general.description provenance note

Everything else was copied verbatim with llama.cpp's gguf_new_metadata.py at c7fc509.

The model

Spark-X2.6-4B (XHToken): dense 4.1B thinking model, spark2_5 architecture — hybrid attention (27 of 36 blocks use a 512-token sliding window, so the KV cache grows with only 9 full-attention layers), 16 Q / 4 KV heads of 256 dims, 131072 vocab. The abliterated build removed a refusal direction from 53 tensors with Heretic; see the source card for the method and full measurements.

Notice. The weights are a modified derivative: abliteration removes refusals, not the model's knowledge or its failure modes — you are accountable for what you generate and for applicable law. XHToken did not produce, endorse, or review this build. Factual reliability is unchanged; only the signalling is gone.

The template

Sharp-Spark v1.0.0 — Spark's own control tokens and <think> conventions preserved, with four fixes to the stock render (caller's system prompt replaces rather than trails the default, the tools block is separated and ordered, reasoning history is read from reasoning/thinking as well as reasoning_content, tool results render like every other role) plus the force-appended Sharp terseness prompt. Template kwargs:

  • enable_thinking (default true) — false pre-emits </think>
  • terse (default true) — the force-appended terseness system prompt
  • suppress_tool_instructions (default: auto-detect)

Usage

The spark2_5 architecture needs llama.cpp b10828+ (built and tested here at c7fc509, 2026-10-21):

llama-server -m Spark-X2.6-4B-Abliterated-Q5_K_M.gguf \
  -ngl 99 -c 131072 -fa on --jinja --cache-prompt \
  --temp 0.6 --top-p 0.95 --top-k 20

Recommended serving defaults: temp 0.6 / top-p 0.95 / top-k 20 (the source card's evaluations used XHToken's 1.0 / 0.95 / off — match that if you want to reproduce their numbers).

No --chat-template-file needed — the template ships in the GGUF. Per-request kwargs:

{"chat_template_kwargs": {"enable_thinking": false, "terse": false}}

Pre-fill KV cache after response

Keep llama-server's prompt caching on (--cache-prompt, the default): when a response finishes, the conversation stays encoded in the slot's KV cache, so the next turn only processes the new tokens instead of re-encoding the whole prompt. On this model only 9 of 36 layers grow with context, so cached multi-turn chat is cheap.

Stateless clients that re-send the full conversation every turn can pre-fill while the user reads the response: after receiving it, re-submit the conversation with n_predict: 0 (OpenAI-compatible endpoint: "max_tokens": 0) — the prompt is evaluated into the cache and no tokens are generated, so the real follow-up request starts generating immediately.

KV cache quantization works well on this arch (only 9 full-attention layers grow with context):

  -ctk q8_0 -ctv q8_0   # ~2.5 GiB at 131k ctx
  -ctk q8_0 -ctv q4_0   # ~1.9 GiB at 131k ctx

Files

file size
Spark-X2.6-4B-Abliterated-Q5_K_M.gguf 2.77 GiB
chat_template.jinja the baked template, for reference

Verification

source Q5_K_M sha256:       9e59dcdf6fa6b18cbf146f1b2f5ae47ba30fdcb21e6903b327fc726d050460a1
template sha256:            4b17e14468e458809f5b24dfbfb5e84d26249d115b1a70c68d547e44108f0dd8
tensor-data sha256 (both):  57ce12c4c918364829e39a5765f884a1d34cf9d741caeb47f457ead9795f15e5

Credits

License

Apache-2.0, inherited from XHToken/Spark-X2.6-4B through the abliterated build. Per §4(b): this distribution modifies the source GGUF's chat-template metadata only, as stated above; the weights are an unmodified copy of the abliterated build, which is itself a modified derivative of the base model.

README history 2 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-10-22Upload README.md with huggingface_hubfda173f5.3 KB
    Loading...
  2. 2026-10-22Upload README.md with huggingface_hubec831c94.4 KB
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration