license: apache-2.0
base_model: Peymandc/Spark-X2.6-1.7B-Uncensored-Peymandc
base_model_relation: quantized
library_name: gguf
pipeline_tag: text-generation
inference: false
tags:
- gguf
- spark2_5
- llama.cpp
- conversational
- uncensored
- decensored
- heretic
- reproducible
- English
- Chinese
language: - en
- zh
💜 Spark-X2.6-1.7B-Uncensored-Peymandc-GGUF
A compact, decensored conversational language model, converted to GGUF for efficient local inference.
This repository provides multiple GGUF quantizations of Peymandc/Spark-X2.6-1.7B-Uncensored-Peymandc, making the model accessible through llama.cpp and compatible local inference applications.
Developed by Peymandc.
Model Information
| Property | Details |
|---|---|
| Model | Spark-X2.6-1.7B |
| Developer | XHToken |
| Modified by | Peymandc |
| Architecture | spark2_5 |
| Format | GGUF |
| Model Type | Causal Language Model |
| Original Model | Spark-X2.6-1.7B |
| Decensoring Method | Heretic v2.1.0 |
| License | Apache 2.0 |
Quantizations
Four GGUF variants are currently available.
| Quantization | File Size | Description |
|---|---|---|
| BF16 | 3.42 GB | Full-precision reference |
| Q4_K_M | 1.11 GB | Compact, memory-efficient option |
| Q6_K | 1.41 GB | Higher precision with moderate size |
| Q8_0 | 1.82 GB | High-precision quantized option |
Which quantization should you choose?
- Q4_K_M: A practical starting point for systems with limited RAM or VRAM.
- Q6_K: A good choice when you have additional memory available and prefer a higher-precision quantization.
- Q8_0: For users who want to retain more of the original model's numerical precision.
- BF16: The unquantized reference version.
These are general quantization trade-offs, not independently benchmarked quality rankings for these particular files.
You only need to download one GGUF file for your chosen quantization.
[!TIP]
💜 Enjoying my work? You can support my independent AI projects here.
About the Model
This is a decensored version of XHToken/Spark-X2.6-1.7B, created using Heretic v2.1.0.
The original Spark-X2.6-1.7B is a compact, general-purpose language model designed for efficient inference, with improvements in reasoning, coding, multilingual capabilities, and long-context tasks.
The decensoring process modifies the model's refusal behavior while aiming to preserve its original capabilities.
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 |
Decensoring Evaluation
The original Transformers release reports the following results from its Heretic evaluation:
| Metric | This Model | Original Model |
|---|---|---|
| Refusal-keyword matches | 4/100 | 100/100 |
| KL divergence | 0.0165 | 0 (reference) |
The refusal evaluation uses keyword matching on the first 100 prompts from mlabonne/harmful_behaviors. It is a keyword-based proxy rather than a semantic or human-reviewed safety evaluation.
KL divergence was measured against the original model using the first 100 prompts from mlabonne/harmless_alpaca.
These results belong to the original modified Transformers checkpoint; the GGUF quantizations have not been independently evaluated against these metrics.
For the full methodology, optimization history, and reproducibility instructions, see the main model repository.
Running with llama.cpp
This model uses the spark2_5 architecture.
Important: Use llama.cpp release b10828 or newer, which introduced native support for Spark2_5ForCausalLM.
1. Download a GGUF file
For example, to download Q4_K_M:
hf download Peymandc/Spark-X2.6-1.7B-Uncensored-Peymandc-GGUF Spark-X2.6-1.7B-Uncensored-Peymandc.Q4_K_M.gguf --local-dir ./Spark-X2.6-GGUF
Replace Q4_K_M with your preferred quantization when downloading another version.
2. Run the model
llama-cli -m "./Spark-X2.6-GGUF/Spark-X2.6-1.7B-Uncensored-Peymandc.Q4_K_M.gguf" --jinja -cnv
The command starts an interactive conversation using the model's chat template when available.
Chat Template and Thinking
The original model supports configurable thinking behavior through its Transformers chat template.
enable_thinking: Enables or disables the thinking mode.reasoning_effort: Supportslowandhighwhen thinking is enabled.- Thinking is enabled by default in the original template, with
highas its default reasoning effort.
The availability of these controls depends on whether your GGUF runtime and frontend expose the corresponding chat-template settings.
Technical Notes
- Architecture:
spark2_5. - Configured maximum context length: 1,048,576 tokens.
- Actual usable context depends on the inference engine, available memory, KV cache allocation, and runtime configuration.
- GGUF file size is not the same as total RAM or VRAM requirements.
- Newer llama.cpp builds are recommended for compatibility and improved inference support.
Safety and Responsible Use
This model has undergone refusal-behavior modification using Heretic. Consequently, it may respond to requests that the original model would have refused.
The model may generate inaccurate, misleading, harmful, or otherwise inappropriate content. Its outputs should not be considered verified information or professional advice.
Users are responsible for evaluating generated outputs and ensuring that their use complies with applicable laws and regulations.
Acknowledgements
Special thanks to:
- XHToken for developing the original Spark-X2.6 model.
- Heretic for providing the decensoring methodology.
- ggml-org for llama.cpp and the GGUF inference ecosystem.
This release is derived from the original Spark-X2.6-1.7B model. Please credit both the original developers and Peymandc when using or redistributing this modified release.
License
This model is distributed under the Apache 2.0 License, consistent with the original Spark-X2.6 model.
💜 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:
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. ❤️