SmolLM2-360M GGUF

SmolLM2 GGUF formats Parameters Context License

Source model ยท HF release ยท Build hub

Pinned, reproducible llama.cpp GGUF conversion of the 362M-parameter SmolLM2 base model. The source is Apache-2.0 licensed and uses an 8,192-token context window.

Verified outputs

Verbatim smollm2-360m-Q4_K_M.gguf completions, --temp 0, 24 new tokens, prompt form Question: ...\nAnswer:. SmolLM2 answers tersely, then rolls straight into another fabricated Question:/Answer: pair; the extra pairs are trimmed with โ€ฆ.

Question Model answer
What is the capital of Japan? Tokyo
What is the capital of Italy? Rome
What is the capital of Egypt? Cairo
What is the largest ocean on Earth? The largest ocean on Earth is the Pacific Ocean.
Which planet is closest to the Sun? Mercury
How many days are in a leap year? There are 366 days in a leap year.
How many continents are there? There are 7 continents.
What is the chemical symbol for gold? Au

Eight of eight are correct. Versus SmolLM-360M the answers are shorter and cleaner, and perplexity is lower at every quantization (12.94 vs 14.57 at F16), but the model remains a 362M base LM with no instruction tuning.

Formats

File Status Purpose
smollm2-360m-F16.gguf Published Reference quality
smollm2-360m-Q8_0.gguf Published Higher-quality compact format
smollm2-360m-Q4_K_M.gguf Published Smallest release format

Validation

WikiText-2 raw test evaluation, 8 chunks of 512 tokens. Lower perplexity is better.

Format PPL Ratio to F16
F16 12.9369 Baseline
Q8_0 12.9416 1.0004
Q4_K_M 13.2124 1.0213

This is a base language model, not an instruction-tuned assistant.

Build

python -m pip install -r requirements-build.txt
python build_gguf.py --model-id HuggingFaceTB/SmolLM2-360M

The builder pins llama.cpp commit 6b790a9c291b5d7af3312bbf9f0c558aa023b13e and the upstream model revision. It does not upload or overwrite this repository.

License

Apache-2.0. See the upstream model card and LICENSE for source attribution.

Downloads last month
97
GGUF
Model size
0.4B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

16-bit

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

Model tree for ShayonSarker/SmolLM2-360M-GGUF

Quantized
(44)
this model