GGUF conversion of HuggingFaceTB/SmolLM-135M-Instruct, a 135M-parameter instruction-tuned model from Hugging Face's SmolLM series.
At ~87 MiB this is about as small as a working chat model gets: it loads in under a second, runs inside a browser tab, and needs almost no RAM. Perfect for smoke tests, demos, edge devices, and teaching how inference works — not for production answers.
| File | Quant | Size | Bits/weight |
|---|---|---|---|
SmolLM-135M-Instruct-Q4_0.gguf |
Q4_0 | 91,727,296 B (87.5 MiB) | ~4.5 |
eb2c714d40d4b35ba4b8ee98475a06d51d8080a17d2d2a75a23665985c739b94llama)<|im_start|> / <|im_end|>) — embedded in the GGUFllama-cli -m SmolLM-135M-Instruct-Q4_0.gguf --ctx-size 2048 -cnv
ollama run hf.co/SadikNawazAI/SmolLM-135M-Instruct-GGUF:Q4_0
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="SadikNawazAI/SmolLM-135M-Instruct-GGUF",
filename="SmolLM-135M-Instruct-Q4_0.gguf",
n_ctx=2048,
)
out = llm.create_chat_completion(
messages=[{"role": "user", "content": "What is the capital of France?"}],
max_tokens=64,
temperature=0.6,
)
print(out["choices"][0]["message"]["content"])
temperature 0.6–0.8, top_p 0.9, repeat_penalty 1.1. Keep prompts short — the model was trained
on short single-turn and multi-turn English conversations and degrades quickly with long context.
| Step | Source |
|---|---|
| Base model | HuggingFaceTB/SmolLM-135M-Instruct (Apache-2.0) |
| GGUF build | Ollama library conversion (smollm:135m), extracted from the local Ollama blob store |
| Mirror | SadikNawazAI/SmolLM-135M-Instruct-GGUF |
This is Ollama's own GGUF build, taken directly from the smollm:135m manifest
(application/vnd.ollama.image.model layer). Other Q4_0 conversions of the same model exist and
differ by a few hundred bytes; this one is not a byte-identical copy of them.
Apache License 2.0 — see LICENSE. Model weights © Hugging Face (SmolLM team).
HuggingFaceTB/SmolLM-135M-Instruct