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="dispatchAI/Qwen2.5-Coder-1.5B-mobile",
	filename="model.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Qwen2.5-Coder-1.5B-mobile

βœ… WORKS β€” Verified June 2026.

Verification Results

Prompt Response Correct?
What is the capital of France? "The capital of France is Paris." βœ…
What is 2+2? Just the number. "4" βœ…

Model Details

Attribute Value
Base Model Qwen/Qwen2.5-Coder-1.5B
File Size 940 MB
Format GGUF
Chat Format chatml
CPU Speed 7.8 tokens/sec
License apache-2.0

Usage

from llama_cpp import Llama

llm = Llama(model_path="model.gguf", chat_format="chatml", n_ctx=512, n_threads=4, verbose=False)
response = llm.create_chat_completion(
    messages=[{"role": "user", "content": "What is the capital of France?"}],
    max_tokens=50,
)
print(response["choices"][0]["message"]["content"])

dispatchAI SDK

from dispatchai import load_model
model = load_model("Qwen2.5-Coder-1.5B-mobile", backend="gguf")
print(model.chat("Hello!"))

πŸš€ dispatchAI

Downloads last month
102
GGUF
Model size
2B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including dispatchAI/Qwen2.5-Coder-1.5B-mobile