Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
Calls tools and follows instructions with almost no thinking delay, as a 4.1B fine-tune of Spark-X2.6-4B. Made for people building fast local agents that need quick, direct tool calls.
Spark-X2.6-4B-AgentFast 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 JamieBradfield/Spark-X2.6-4B-AgentFast
Spark-X2.6-4B-AgentFast is a 4.1B fine-tune of XHToken/Spark-X2.6-4B, tuned for autonomous tool calling, system operations and following prompts. It skips the long thinking step and goes straight to tool calls and answers. The author describes this as an accident of a template mismatch during training.
It suits developers who build local agents where each tool call must come back fast, and who accept a model that does not deliberate first.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | Agent builders | Feed a tool-calling loop that needs structured arguments quickly | A script runner that picks a function and its arguments |
| Operations | Platform teams | Use a small local model for system tasks with short answers | A helper that turns a request into a tool call |
| Research | ML researchers | Study the early-exit behavior the card describes | Compare it with the stock Spark-X2.6-4B |
| AI hobbyists | Local model users | Run a fast small model on modest graphics hardware | Ask quick factual questions with little wait |
If you need careful multi-step reasoning, you can skip it, because the card reports a small drop on its math test.
| Use case | Who | What they get back |
|---|---|---|
| Tool calling | Agent builders | Structured calls with the arguments filled in |
| Instruction following | Developers | Replies that follow detailed prompts closely |
| Quick local Q and A | Hobbyists | Direct answers in a few seconds |
You need Python with pip. For the llama.cpp route you also need the GGUF file from the author's other repository.
pip install -U huggingface_hub hf download JamieBradfield/Spark-X2.6-4B-AgentFast
Run it in the terminal with llama-cli, serve it as an OpenAI-compatible API with llama-server, or load it in Python. The card sets 99 GPU layers, a 4096-token context and a temperature of 0.2.
llama-cli \ -m Spark-X2.6-Fable-Step150-IQ3_M.gguf \ -p "<|start▁of▁sentence|><|User|>List 3 core rules of memory management.<|end▁of▁sentence|><|start▁of▁sentence|><|Bot|>" \ -n 512 \ -ngl 99 \ -c 4096 \ --temp 0.2 \ --single-turn
llama-server \ -m Spark-X2.6-Fable-Step150-IQ3_M.gguf \ --port 8080 \ -ngl 99 \ -c 4096
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "JamieBradfield/Spark-X2.6-4B-AgentFast"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [{"role": "user", "content": "List 3 core rules of memory management."}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to(model.device)| Tool | What it does |
|---|---|
| llama-cli | Runs one prompt in the terminal and prints the reply |
| llama-server | Serves the model as an OpenAI-compatible API on port 8080 |
| AutoModelForCausalLM | Loads the model in Python with Transformers |
| apply_chat_template | Turns your messages into the format the model expects |
You send the prompt asking for 3 core rules of memory management. The model closes its thinking channel at once and answers directly. The card puts this at about 2 to 4 seconds, and about 61 tokens per second on its Vulkan test machine.
Many models think out loud before they answer. This one does not, so replies and tool calls arrive sooner. The first small thing to try is the llama-cli command above with your own question.
The card explains that training targets had empty reasoning channels because of a chat template field mismatch. Over 150 steps the model learned to close the thinking channel at the first token. It kept its core instruction and math skills, with the card claiming a 30 to 40% speedup. The author calls it a case study and is preparing a corrected fine-tune.
Latency: the card reports the average time per tool call and per math problem against the stock model.
Instruction following: on the card's IFEval run, strict prompt-level accuracy is 65.0% against 15.0% for the stock model.
Calls tools and follows instructions with almost no thinking delay, as a 4.1B fine-tune of Spark-X2.6-4B. Made for people building fast local agents that need quick, direct tool calls.
Made by JamieBradfield 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-4B-AgentFast is a 4.1B fine-tune of XHToken/Spark-X2.6-4B, tuned for autonomous tool calling, system operations and following prompts. It skips the long thinking step and goes straight to tool calls and answers. The author describes this as an accident of a template mismatch during training.
Who it suits: It suits developers who build local agents where each tool call must come back fast, and who accept a model that does not deliberate first.
Industry | Who uses it | How they use it | Example
Software | Agent builders | Feed a tool-calling loop that needs structured arguments quickly | A script runner that picks a function and its arguments
Operations | Platform teams | Use a small local model for system tasks with short answers | A helper that turns a request into a tool call
Research | ML researchers | Study the early-exit behavior the card describes | Compare it with the stock Spark-X2.6-4B
AI hobbyists | Local model users | Run a fast small model on modest graphics hardware | Ask quick factual questions with little wait
If you need careful multi-step reasoning, you can skip it, because the card reports a small drop on its math test.
Where to use it:
Use case | Who | What they get back
Tool calling | Agent builders | Structured calls with the arguments filled in
Instruction following | Developers | Replies that follow detailed prompts closely
Quick local Q and A | Hobbyists | Direct answers in a few seconds
How to set it up: You need Python with pip. For the llama.cpp route you also need the GGUF file from the author's other repository.
pip install -U huggingface_hub
hf download JamieBradfield/Spark-X2.6-4B-AgentFast
How to use it: Run it in the terminal with llama-cli, serve it as an OpenAI-compatible API with llama-server, or load it in Python. The card sets 99 GPU layers, a 4096-token context and a temperature of 0.2.
llama-cli \
-m Spark-X2.6-Fable-Step150-IQ3_M.gguf \
-p "<|start▁of▁sentence|><|User|>List 3 core rules of memory management.<|end▁of▁sentence|><|start▁of▁sentence|><|Bot|>" \
-n 512 \
-ngl 99 \
-c 4096 \
--temp 0.2 \
--single-turn
llama-server \
-m Spark-X2.6-Fable-Step150-IQ3_M.gguf \
--port 8080 \
-ngl 99 \
-c 4096
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "JamieBradfield/Spark-X2.6-4B-AgentFast"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [{"role": "user", "content": "List 3 core rules of memory management."}]
inputs = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt").to(model.device)
Tool | What it does
llama-cli | Runs one prompt in the terminal and prints the reply
llama-server | Serves the model as an OpenAI-compatible API on port 8080
AutoModelForCausalLM | Loads the model in Python with Transformers
apply_chat_template | Turns your messages into the format the model expects
Example: You send the prompt asking for 3 core rules of memory management. The model closes its thinking channel at once and answers directly. The card puts this at about 2 to 4 seconds, and about 61 tokens per second on its Vulkan test machine.
For newcomers and experts: Many models think out loud before they answer. This one does not, so replies and tool calls arrive sooner. The first small thing to try is the llama-cli command above with your own question.
The card explains that training targets had empty reasoning channels because of a chat template field mismatch. Over 150 steps the model learned to close the thinking channel at the first token. It kept its core instruction and math skills, with the card claiming a 30 to 40% speedup. The author calls it a case study and is preparing a corrected fine-tune.
Spark-X2.6-4B base
150 steps of fine-tuning with empty reasoning targets
Thinking channel closes at token zero
Direct tool calls and answers
Good to know: Latency: the card reports the average time per tool call and per math problem against the stock model.
Title: Seconds per tool call
AgentFast: 3.11 s
Stock model: 5.13 s
Instruction following: on the card's IFEval run, strict prompt-level accuracy is 65.0% against 15.0% for the stock model.
Title: IFEval prompt-level strict accuracy, percent
AgentFast: 65.0%
Stock model: 15.0%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download JamieBradfield/Spark-X2.6-4B-AgentFast
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 7 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-4B-AgentFast This page | 552 | 4 | 4.1B | apache-2.0 | |
| Spark-X2.5-4BShares sparkx2_5 · spark2_5 · agent | 8,697 | 1,442 | 4.1B | apache-2.0 | |
| Spark-X2.6-4BShares sparkx2_5 · spark2_5 · text-generation | 28,117 | 1,041 | 4.1B | apache-2.0 | |
| Spark-X2.6-1.7BShares sparkx2_5 · spark2_5 · text-generation | 5,095 | 84 | 1.7B | apache-2.0 | |
| Spark-X2.6-4B-BaseShares sparkx2_5 · spark2_5 · text-generation | 2,331 | 47 | 4.1B | apache-2.0 | |
| Spark-X2.6-4B-FP8Shares sparkx2_5 · spark2_5 · text-generation | 2,048 | 39 | 4.1B | apache-2.0 |
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
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…