How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="Piecrust/Spike-4B-GGUF",
	filename="",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Spike-4B · GGUF

Spike is the on-device assistant in the Spike AI iOS app — the for CPU/GPU serving via llama.cpp (current build with qwen35 support). 📱 Get it on the App Store: https://apps.apple.com/app/spike-ai/id6749781844

A LoRA fine-tune of Qwen/Qwen3.5-4B (a vision-language model), specialized for Spike's tool-calling — reminders, calendar, Apple Home, maps, web, files, code, and the SSH/agent toolset — plus vision (flyer → calendar, note → reminder, receipt → answer), while staying a natural conversationalist. English + German. Tool grammar: tool:<name> {json}.

Files

Spike-4B-Q4_K_M.gguf (~2.5 GB) + Spike-4B-F16.gguf (source).

Qwen3.5 is a new hybrid (linear-attention + full-attention) architecture; for on-device iOS the app ships the MLX build.

Eval — Spike harness (base Qwen3.5-4B → Spike-4B)

Metric Base Spike-4B
Tool calls · thinking-off 42.4% 99.8%
Tool calls · thinking-on 99.8%
Vision (image → tool / answer) 68.1% 100%
Normal-chat tool-leak (lower=better) 1.6% 0%

Trained text+thinking+German, then a vision-replay stage, then a conversation-repair stage (distilled base-model chat + contrastive tool/vision replay) so it keeps enable_thinking reasoning and vision, tool-calls at 99.8%, and does not hijack casual chat into tool calls.

Usage

  • Trained on Spike's compact system prompt; use that exact prompt.
  • Optional reasoning via the enable_thinking chat-template kwarg.
  • One text tool call per turn: tool:<name> {json}.

License

Derivative of Qwen3.5-4B under the Apache 2.0 License.

Downloads last month
-
GGUF
Model size
4B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Piecrust/Spike-4B-GGUF

Finetuned
Qwen/Qwen3.5-4B
Quantized
(299)
this model