XHToken / Spark-X2.5-1.7B-Base

huggingface.co
Total runs: 557
24-hour runs: -17
7-day runs: -387
30-day runs: -240
Model's Last Updated: August 31 2026
text-generation

Introduction of Spark-X2.5-1.7B-Base

Model Details of Spark-X2.5-1.7B-Base

Spark-X2.5

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

Introduction

We are introducing Spark-X2.5-4B and Spark-X2.5-1.7B, two compact, general-purpose language models designed to make capable AI more practical, efficient, and accessible. The models deliver strong performance across a broad range of everyday tasks—including conversation, writing, translation, reasoning, coding, tool use, and agentic workflows—achieving leading results among open-source models of comparable size. Spark-X2.5 combines an efficiency-oriented architecture with native context windows of up to 1M tokens, and support for more than 200 languages.

Technical Highlights :

  • Efficient Architecture and Native 1M-token Context : The models use a hybrid attention architecture that combines one full-attention layer with three sliding-window attention layers. This design substantially reduces the computational overhead typically associated with long-context models while natively supporting a context window of up to 1M tokens.
  • Strong Coding and Agent Capabilities : The models are deeply integrated with popular agent harnesses, including Codex, Claude Code, OpenClaw, and Hermes. They deliver state-of-the-art performance among models of comparable size across everyday coding, agentic workflows, reasoning, and instruction-following tasks.
  • Broad Hardware and Software Compatibility : The models support a wide range of hardware platforms, including NVIDIA, Huawei, Hygon, HOUMO.AI, etc. It is compatible with leading inference frameworks such as vLLM, SGLang, llama.cpp, and can be deployed quickly through platforms including Ollama and LM Studio. The models can also be customized using popular fine-tuning frameworks such as LLaMA-Factory. Across multiple hardware platforms, they deliver superior TTFT, TOPT, and overall inference efficiency compared with similarly sized models.
  • Advanced Training Algorithms : The models were trained on Huawei Ascend clusters. Large-scale reinforcement learning and post-training techniques such as MOPD significantly enhance its reasoning, coding, agentic, and instruction-following capabilities.
Model Overview

For agent tasks, balancing performance, inference speed, and cache usage has long been a key bottleneck limiting model performance. Spark-X2.5 systematically integrates and optimizes mature attention technologies, combining sliding-window attention (SWA) with a hybrid full-attention architecture. This approach leverages the strengths of both mechanisms while avoiding the limitations of relying on a single structure, achieving an effective balance among performance, inference efficiency, and KV-cache size—thereby improving its practicality and effectiveness across real-world deployment scenarios.

Spark-X2.5 hybrid architecture

Finetuning

We advise you to use Llama-Factory to finetune your models.

License

The Spark-X2.5 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.5,
    title  = {Spark-X2.5 4B&1.7B: Pushing the Limits of Agentic Capabilities in On-Device Models},
    author = {SparkLLM Team},
    year   = {2026}
}

Runs of XHToken Spark-X2.5-1.7B-Base on huggingface.co

557
Total runs
-17
24-hour runs
-157
3-day runs
-387
7-day runs
-240
30-day runs

More Information About Spark-X2.5-1.7B-Base huggingface.co Model

More Spark-X2.5-1.7B-Base license Visit here:

https://choosealicense.com/licenses/apache-2.0

Spark-X2.5-1.7B-Base huggingface.co

Spark-X2.5-1.7B-Base huggingface.co is an AI model on huggingface.co that provides Spark-X2.5-1.7B-Base's model effect (), which can be used instantly with this XHToken Spark-X2.5-1.7B-Base model. huggingface.co supports a free trial of the Spark-X2.5-1.7B-Base model, and also provides paid use of the Spark-X2.5-1.7B-Base. Support call Spark-X2.5-1.7B-Base model through api, including Node.js, Python, http.

Spark-X2.5-1.7B-Base huggingface.co Url

https://huggingface.co/XHToken/Spark-X2.5-1.7B-Base

XHToken Spark-X2.5-1.7B-Base online free

Spark-X2.5-1.7B-Base huggingface.co is an online trial and call api platform, which integrates Spark-X2.5-1.7B-Base's modeling effects, including api services, and provides a free online trial of Spark-X2.5-1.7B-Base, you can try Spark-X2.5-1.7B-Base online for free by clicking the link below.

XHToken Spark-X2.5-1.7B-Base online free url in huggingface.co:

https://huggingface.co/XHToken/Spark-X2.5-1.7B-Base

Spark-X2.5-1.7B-Base install

Spark-X2.5-1.7B-Base is an open source model from GitHub that offers a free installation service, and any user can find Spark-X2.5-1.7B-Base on GitHub to install. At the same time, huggingface.co provides the effect of Spark-X2.5-1.7B-Base install, users can directly use Spark-X2.5-1.7B-Base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Spark-X2.5-1.7B-Base install url in huggingface.co:

https://huggingface.co/XHToken/Spark-X2.5-1.7B-Base

Url of Spark-X2.5-1.7B-Base

Spark-X2.5-1.7B-Base huggingface.co Url

Provider of Spark-X2.5-1.7B-Base huggingface.co

XHToken
ORGANIZATIONS

Other API from XHToken