SmolLM2-1.7B-Instruct-mobile

βœ… WORKS β€” Verified June 2026.

Verification Results

Prompt Response Correct?
What is the capital of France? "The capital of France is Paris." βœ…
Say hello in one sentence. "Hello!" βœ…

Model Details

Attribute Value
Base Model HuggingFaceTB/SmolLM2-1.7B-Instruct
File Size 1007 MB
Format GGUF
Chat Format chatml
CPU Speed 18.7 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("SmolLM2-1.7B-Instruct-mobile", backend="gguf")
print(model.chat("Hello!"))

πŸš€ dispatchAI

Downloads last month
36
GGUF
Model size
2B params
Architecture
llama
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

Space using dispatchAI/SmolLM2-1.7B-Instruct-mobile 1