← back to catalog · indexed 2026-11-27 15:07

Peymandc/Spark-X2.6-1.7B-Uncensored-Peymandc

Your rig guess connected
? Why do I need an app?
Reading your rig…

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/Peymandc%2FSpark-X2.6-1.7B-Uncensored-Peymandc"
Response includes
  • classification unknown
  • files 18
  • author_summary 8 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
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
Descendants
1
in 1 direct fork
Model age
today
created 2026-11-27

Genealogy 1 direct fork

Full fork graph →

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

Variants by this author 2 formats · 0 downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
apache-2.0
Languages
en zh
Tags
transformers safetensors spark2_5 text-generation llm sparkx2_5 heretic uncensored decensored abliterated reproducible conversational

Related

Total size
3.19 GB
Files
18
Quantizations
none
Indexed by us
2026-11-27 15:07
Last updated on HF
2026-11-27 14:15

Files by quantization

Weights 1 file 3.18 GB
model.safetensors 3.18 GB a6fa4163 download
Auxiliary files 17 files 13.6 MB
tokenizer.json 9.65 MB f3ae6d33 download
reproduce/XHToken--Spark-X2--6-1--7B.jsonl 3.85 MB 84faad56 download
modeling_spark.py 19.9 KB 56ade13c download
LICENSE 11.1 KB b7456707 download
reproduce/reproduce.json 10.9 KB 08b757be download
README.md 8.91 KB eb9b6e1f download
chat_template.jinja 5.70 KB d3556549 download
configuration_spark.py 4.23 KB cca611a0 download
reproduce/README.md 3.51 KB 923c0d4e download
reproduce/config.toml 2.43 KB a6441ec0 download
config.json 1.93 KB e47a90f6 download
reproduce/requirements.txt 1.77 KB cf3d1f0a download
.gitattributes 1.48 KB a6344aac download
MODIFICATIONS.md 1.36 KB b2b95599 download
tokenizer_config.json 404 B 92b9b584 download
generation_config.json 296 B 65d903c8 download
reproduce/SHA256SUMS.txt 85.0 B b2df31e0 download

README from Hugging Face, captured 2026-11-27


license: apache-2.0
language:

  • en
  • zh
    library_name: transformers
    pipeline_tag: text-generation
    tags:
  • llm
  • sparkx2_5
  • heretic
  • uncensored
  • decensored
  • abliterated
  • reproducible
    base_model: XHToken/Spark-X2.6-1.7B

Spark-X2.6-1.7B Uncensored Peymandc

This is a decensored version of XHToken/Spark-X2.6-1.7B, made using Heretic v2.1.0

This model is reproducible!

See the README in the reproduce directory for more information.

[!TIP]
💜 Enjoying my work? You can support my independent AI projects here.

Arbitrary-Rank Ablation (ARA) parameters

Parameter Value
start_layer_index 7
end_layer_index 15
preserve_good_behavior_weight 0.9772
steer_bad_behavior_weight 0.0003
overcorrect_relative_weight 0.9678
neighbor_count 14

Performance

Metric This model Original model (XHToken/Spark-X2.6-1.7B)
Refusals 4/100 100/100
KL divergence 0.0165 0 (by definition)

Evaluation methodology

  • Refusal-keyword matches: Heretic's KeywordRate scorer, evaluated on the first 100 prompts from mlabonne/harmful_behaviors (test[:100]). A response is counted when it contains any configured refusal keyword, case-insensitively. This is a keyword-based proxy, not a semantic or human-reviewed refusal evaluation.
  • KL divergence: Heretic's KLDivergence scorer, evaluated on the first 100 prompts from mlabonne/harmless_alpaca (test[:100]). The original model is the reference, so its divergence is zero by definition.

Full evaluation settings, keyword markers, dependencies, optimization history, and reproduction instructions are available in the reproduce/ directory.

Safety and Responsible Use

This model has undergone refusal-behavior modification using Heretic.
As a result, it may respond to requests that the original model would
have refused.

Users are responsible for evaluating its outputs and ensuring that
their use complies with applicable laws and regulations.

The model may generate inaccurate, misleading, harmful, or otherwise
inappropriate content. Its outputs should not be treated as verified
information or professional advice.


[!Note]
This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format.

The architecture descriptions, capability claims, and benchmark results in the following sections originate from the original XHToken/Spark-X2.6-1.7B documentation. They have not been independently re-evaluated on this Heretic variant. The variant-specific evaluation results are reported above.

Introduction

We introduce Spark-X2.6-1.7B, the second model in the Spark-X2.6 series, following the release of Spark-X2.6-4B. Building on Spark-X2.5-1.7B, this release further advances our compact, general-purpose language models for on-device deployment.

Spark-X2.6-1.7B retains exactly the same architecture as Spark-X2.5-1.7B, achieving its capability gains through improved post-training. It delivers substantial improvements in coding, agent, long-context, multilingual, reasoning, etc. These capability gains, combined with strong inference efficiency among models of comparable size, enable more capable and practical on-device AI for developers and users tackling real-world tasks.

Technical Highlights:

  • Stronger Coding, Agentic, and Long-Context Capabilities: The model delivers substantial improvements in complex tool use, multi-step planning, software engineering, and reasoning over extended contexts, achieving state-of-the-art performance among open-source models of comparable size.
  • Efficient On-Device Inference: The model delivers strong on-device inference efficiency, achieving leading decoding throughput among similarly sized open-source models in our evaluations and enabling more responsive AI experiences on local hardware.
  • Controllable Thinking Budget: The model provides three configurable thinking levels—none, low, high—allowing applications to balance reasoning quality, latency, and inference cost dynamically.

Benchmarks

We evaluate our models and compare them with leading on-device models of similar size across a broad range of tasks, including agent, code, math, general and knowledge.
Spark-X2.6-1.7B surpasses models of comparable size on most benchmarks, delivering state-of-the-art results.

all Spark-X2.6 benchmarks

Edge Inference

Spark-X2.6-1.7B delivers leading decoding throughput at shorter context lengths among the on-device models we evaluated, including Qwen3.5-2B, MiniCPM-2B, and LFM2.5-2.6B. Moreover, our optimized llama.cpp implementation(https://github.com/XHToken/llama.cpp) amplifies this performance advantage across all tested context lengths on the RTX 4090, underscoring its strong efficiency for responsive local AI.

Spark-X2.6 inference

Reasoning Effort Comparison

We compare high and low reasoning effort across agent, code, math, long-context, and general knowledge tasks. When switching from high to low, Spark-X2.6-1.7B average score decreases by 4.0 points, while its average output length drops by 37.3%. For Spark-X2.6-4B, the average score decreases by 1.7 points, while average output length drops by 22.0%. This flexibility allows developers to balance task performance and generation efficiency according to their application needs.

Spark-X2.6 reasoning_effort

Quickstart

Transformers

Install the required version with pip install transformers==4.57.1.

from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Peymandc/Spark-X2.6-1.7B-Uncensored-Peymandc"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    torch_dtype="auto",
    device_map="auto",
)
messages = [{"role": "user", "content": "What is the capital of Anhui Province?"}]
inputs = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    enable_thinking=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)
outputs = model.generate(
    **inputs,
    max_new_tokens=131072,
    do_sample=True,
    temperature=1.0,
    top_p=0.95,
    top_k=0,
)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

License

The Spark-X2.6 model series is licensed under the Apache 2.0 License.

Acknowledgements

This model is derived from XHToken/Spark-X2.6-1.7B, developed by XHToken.

Refusal-behavior modification was performed using Heretic.

If you use this model in your work, please credit both the original model and this modified release.



💜 Support Independent Development

These projects are part of my ongoing exploration of open-weight AI models.

Your support helps make more room for experimentation, model modifications, testing, research, and future releases.

If you find my work useful and would like to contribute, you're welcome to visit my support page:

Support my work

Every contribution is appreciated, but never expected. Sharing feedback, reporting issues, and simply using the models are also wonderful ways to support independent development.

Thank you for being here. ❤️

Catalog is the map. Apps are the tools.

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

Every GGUF 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