alt.freeweights.text / Spark-X2.6-4B-Base
From: XHToken <huggingface.co/XHToken>Newsgroups: alt.freeweights.textSubject:

Spark-X2.6-4B-Base

Date: 2026-11-15Commit: ec7af5eSigned: 2DC28CC7B26A283B ✓

Text generation model with 4.1B parameters. Safetensors weights, 8.24 GB in all. Published by XHToken under Apache-2.0.

4.1B params8.24GBSpark-X2.6-4B-Basesafetensorspermissive
FactsParams4.1BSize8.24 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get XHToken/Spark-X2.6-4B-Base
# manifest sha256 83252eebdf98… · 8.24 GB · 20 files
$ fw verify ./Spark-X2.6-4B-Base XHToken/Spark-X2.6-4B-Base
From sourceHosted (signed)XHToken/Spark-X2.6-4B-BaseLast check: 2026-11-15 03:26 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
8.24 GB
Weights
8.22 GB (safetensors)
Parameters
4.1B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
20, each with a sha256
Publisher
XHToken
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:26 UTCpassed

Model card

From the publisher at commit ec7af5e. Shown as plain text with links; images open at the publisher.

Spark-X2.6-4B: Advancing the Frontier of On-Device Agents for Real-World Tasks#

Slack Discord YouTube dev.to Bluesky X Zhihu WeChat

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

Introduction#

A little over a month has passed since Spark-X2.5. In the rapidly evolving world of AI agents, that is enough time to rethink, refine, and move the frontier forward. Building on the Spark-X2.5-4B, we introduce Spark-X2.6-4B, the latest generation of our compact, general-purpose language models for on-device deployment.

Spark-X2.6-4B retains exactly the same architecture as Spark-X2.5-4B, achieving its capability gains through improved post-training. It delivers substantial improvements in coding, agent, long-context, multilingual, reasoning, etc. These advances 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 models deliver substantial improvements in agentic workflows involving complex tool use, multi-step planning, and software engineering. They achieve state-of-the-art performance among similarly sized open-source models, matching or even surpassing models with approximately 9B parameters.
  • Controllable Thinking Budget: The models provide three configurable thinking levels—none, low, high—allowing applications to balance reasoning quality, latency, and inference cost dynamically.
Fine-Tuning#

We recommend using Llama-Factory to fine-tune the model.

License#

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

Citation#

If you find our work helpful, feel free to give us a cite.

@misc{sparkx2.6,
    title  = {Spark-X2.6-4B&1.7B: Advancing the Frontier of On-Device Agents for Real-World Tasks},
    author = {SparkLLM Team},
    year   = {2026}
}

Files

20 files · 8.24 GBWeights 8.22 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 20 files with their sha256
FileSizesha256
.gitattributes1.65 KBc0c7ac7d9e989388203f112e685e7a1b45268c5350e5edd6e4d901bbbe1a436e
LICENSE11.3 KB525c465ab952779d2d360a9ff36f7f49ae018a23d80302ff839a850a77784c36
README.md3.23 KB83be9ebbd5edd0901261b15c28286815dfd798362013811c21fed6e35580265d
chat_template.jinja5.72 KB480576bd2ef80726a0dba6406d72ca37f4f4f9ca747c7f1c8d159dbdf40f6929
config.json2.04 KB767161ece8ed2891e44345afdf98d29c1cacb964116cb6db7d20dc1c757490ad
configuration_spark.py4.33 KB02218597240490f490659b184052db940b08163ff9c3af7b7e59323f6f963722
generation_config.json281 B804a5276a9d237600688267dd2bf6f9d4129ec21faf417f870d5d52b32ad9e6c
images/xhtoken-wechat.jpg160 KB0c3fbd25c987237b383461fdaa96bf6881af615c23ba3baf19e51a7879354ddb
merges.txt1.57 MBb06fc88940ae6a20f71142f06304c12547f58ab52c175e56af12a38c3dc62f36
model-00001-of-00005.safetensors1.98 GB2408e76bc81043f5d0a3c1e6837e3f2555e7e384d43172c1c17ef8e4234ee669
model-00002-of-00005.safetensors1.99 GB5600d4719ee6896e461fffaa76250e9fb42fcea90f6240f25379723a23919ee8
model-00003-of-00005.safetensors1.99 GB63b9d64720e88494af8d1ed4bd4b37f162fc0c1dbceaf9aad3964ccba20ef3c8
model-00004-of-00005.safetensors1.99 GB84f4c5ce7144d4a7d51ab6895550df3ea311e635bc8b08d1f588e15f0f33d29e
model-00005-of-00005.safetensors262 MB72bd1352e56fb498c44e9822cae7742a000729a80c85a973e3830ea1b7c32f6d
model.safetensors.index.json24.1 KB77a11d49b279b5e44fcb1f2453f71a8023237f93992fe5275d842e149d896edd
modeling_spark.py19.4 KB9cf0d1ad2b54b9f7088792779ddd8b5cb4d4fe63bfea054da7f2dd16362bcaf4
special_tokens_map.json156 B48a257e3f5f20a004e7c30482a70ae19ae7d9cf713144f2a1394ba20af8c3cb5
tokenizer.json10.1 MB710cce15cf3565674c499f9413997c6e8101f2bdd96245cff8f0311fb501248c
tokenizer_config.json5.84 KB57b385dcc2ad031aef4a3786e97cd9a832ecb839cb27ed2cd829d627c90e1bfd
vocab.json3.03 MB9f42cb7e7af5afe27cae2337d272d60b5659e10143ef4bb952f642b847916fe1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ec7af5e19b pinned now2026-11-15 03:26 UTC20 files · 8.24 GB

Use it

$ fw get XHToken/Spark-X2.6-4B-Base
# manifest sha256 83252eebdf98… · 8.24 GB · 20 files
$ fw verify ./Spark-X2.6-4B-Base XHToken/Spark-X2.6-4B-Base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/XHToken/Spark-X2.6-4B-Base.json --dir ./Spark-X2.6-4B-Base $ python3 fw.py verify ./Spark-X2.6-4B-Base ./XHToken__Spark-X2.6-4B-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download XHToken/Spark-X2.6-4B-Base --revision ec7af5e19b293a6fbe9e87080e36b83e20d3243f --local-dir ./Spark-X2.6-4B-Base
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("XHToken/Spark-X2.6-4B-Base", revision="ec7af5e19b293a6fbe9e87080e36b83e20d3243f") model = AutoModelForCausalLM.from_pretrained("XHToken/Spark-X2.6-4B-Base", revision="ec7af5e19b293a6fbe9e87080e36b83e20d3243f", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve XHToken/Spark-X2.6-4B-Base --revision ec7af5e19b293a6fbe9e87080e36b83e20d3243f

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
525c465ab952779d2d360a9ff36f7f49ae018a23d80302ff839a850a77784c36
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: XHToken <huggingface.co/XHToken>Newsgroups: alt.freeweights.textSubject: Spark-X2.6-4B-BaseDate: 2026-11-15Commit: ec7af5eSigned: 2DC28CC7B26A283B ✓
Upstream
XHToken/Spark-X2.6-4B-Base
Pinned commit
ec7af5e19b293a6fbe9e87080e36b83e20d3243f
Manifest
Spark-X2.6-4B-Base.json · .minisig
Manifest sha256
83252eebdf98f19803e387c08e5f19341aa1d9f6dbc06707f2a38aeca65e9691
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/XHToken/Spark-X2.6-4B-Base.json $ curl -O https://freeweights.allternit.com/manifests/XHToken/Spark-X2.6-4B-Base.json.minisig $ minisign -Vm Spark-X2.6-4B-Base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Fine-tunes
1
Fine-tunes 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download XHToken/Spark-X2.6-4B-Base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Spark-X2.6-4B-Base.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B