anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Runs a small 1.7B on-device language model from XHToken as 4-bit GGUF files, for chat, coding and agent tasks in English and Chinese, with adjustable thinking effort. For people running models locally.
Spark-X2.6-1.7B-GGUF is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download XHToken/Spark-X2.6-1.7B-GGUF
Spark-X2.6-1.7B-GGUF is a GGUF copy of Spark-X2.6-1.7B, a compact language model from XHToken meant for on-device use. It keeps the architecture of the earlier Spark-X2.5-1.7B and gets its gains from better post-training. The listing shows English and Chinese, and the 4-bit files weigh about 988 MB as an estimate.
It suits people who want a small model that runs on a laptop or desktop without a hosted service, and who like to tune how much it reasons.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Developers | Run a small coding and agent model on a local machine | Asking it to plan a multi-step edit |
| On-device apps | App builders | Ship local text features that work without a server | Answering questions inside a desktop tool |
| Bilingual work | Writers and students | Ask questions and draft text in English and Chinese | Asking in Chinese about a place |
| Research | Hobbyists and researchers | Compare small models and thinking levels | Trying the three thinking levels on one prompt |
You can skip it if you need a large model for hard problems, since this one is built for small devices.
| Use case | Who | What they get back |
|---|---|---|
| Local chat | Anyone | Text answers from a model on your own machine |
| Coding and agent tasks | Developers | Code help and multi-step tool planning, as the authors describe |
| Adjustable reasoning | App builders | A choice of none, low or high thinking to trade speed for quality |
You need Python and a tool that loads GGUF files, or the transformers library for the original weights.
pip install -U huggingface_hub hf download XHToken/Spark-X2.6-1.7B-GGUF
The card's own quickstart uses transformers with the original model repository, not the GGUF files, and it continues with a generate call. The thinking level is chosen when you build the prompt.
pip install transformers==4.57.1
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "XHToken/Spark-X2.6-1.7B"
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)You ask "What is the capital of Anhui Province?" as in the card. The model replies with a short text answer, and with thinking turned on it may reason first before it gives the answer.
If you are new to local models, this is a small one that fits on ordinary hardware. A first small try is to download the files and ask it one short question like the capital-city example.
For people who know the field, the card describes three thinking levels, none, low and high. Dropping from high to low cut the average score by 4.0 points and the output length by 37.3 percent for the 1.7B model. The speed claims come from the authors' own tests, and they point to a custom llama.cpp build for the best results.
The benchmark and speed claims in the card are the authors' own, so test the model on your tasks before you rely on it.
Runs a small 1.7B on-device language model from XHToken as 4-bit GGUF files, for chat, coding and agent tasks in English and Chinese, with adjustable thinking effort. For people running models locally.
Made by XHToken on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Spark-X2.6-1.7B-GGUF is a GGUF copy of Spark-X2.6-1.7B, a compact language model from XHToken meant for on-device use. It keeps the architecture of the earlier Spark-X2.5-1.7B and gets its gains from better post-training. The listing shows English and Chinese, and the 4-bit files weigh about 988 MB as an estimate.
Who it suits: It suits people who want a small model that runs on a laptop or desktop without a hosted service, and who like to tune how much it reasons.
Industry | Who uses it | How they use it | Example
Software development | Developers | Run a small coding and agent model on a local machine | Asking it to plan a multi-step edit
On-device apps | App builders | Ship local text features that work without a server | Answering questions inside a desktop tool
Bilingual work | Writers and students | Ask questions and draft text in English and Chinese | Asking in Chinese about a place
Research | Hobbyists and researchers | Compare small models and thinking levels | Trying the three thinking levels on one prompt
You can skip it if you need a large model for hard problems, since this one is built for small devices.
Where to use it:
Use case | Who | What they get back
Local chat | Anyone | Text answers from a model on your own machine
Coding and agent tasks | Developers | Code help and multi-step tool planning, as the authors describe
Adjustable reasoning | App builders | A choice of none, low or high thinking to trade speed for quality
How to set it up: You need Python and a tool that loads GGUF files, or the transformers library for the original weights.
pip install -U huggingface_hub
hf download XHToken/Spark-X2.6-1.7B-GGUF
How to use it: The card's own quickstart uses transformers with the original model repository, not the GGUF files, and it continues with a generate call. The thinking level is chosen when you build the prompt.
pip install transformers==4.57.1
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "XHToken/Spark-X2.6-1.7B"
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)
Example: You ask "What is the capital of Anhui Province?" as in the card. The model replies with a short text answer, and with thinking turned on it may reason first before it gives the answer.
For newcomers and experts: If you are new to local models, this is a small one that fits on ordinary hardware. A first small try is to download the files and ask it one short question like the capital-city example.
For people who know the field, the card describes three thinking levels, none, low and high. Dropping from high to low cut the average score by 4.0 points and the output length by 37.3 percent for the 1.7B model. The speed claims come from the authors' own tests, and they point to a custom llama.cpp build for the best results.
Title: Average score drop from high to low reasoning effort
Spark-X2.6-1.7B: 4.0 points
Spark-X2.6-4B: 1.7 points
GGUF files download from Hugging Face
A GGUF runtime loads the 4-bit model
You send a prompt with a thinking level
The model answers in English or Chinese
Good to know: The benchmark and speed claims in the card are the authors' own, so test the model on your tasks before you rely on it.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download XHToken/Spark-X2.6-1.7B-GGUF
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Spark-X2.6-1.7B-GGUF This page | 26,744 | 50 | 2B | apache-2.0 | |
| Spark-X2.6-4B-GGUFShares sparkx2_5 · gguf · text-generation | 687,668 | 310 | 4.4B | apache-2.0 | |
| Spark-X2.6-4B GGUFShares sparkx2_5 · gguf · text-generation | 27,090 | 20 | 4.1B | apache-2.0 | |
| Spark-X2.6-4BShares sparkx2_5 · text-generation · conversational | 28,117 | 1,041 | 4.1B | apache-2.0 | |
| Spark-X2.5-4BShares sparkx2_5 · text-generation · conversational | 8,697 | 1,442 | 4.1B | apache-2.0 | |
| Spark-X2.6-1.7BShares sparkx2_5 · text-generation · conversational | 5,095 | 84 | 1.7B | apache-2.0 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.