alt.freeweights.smollm / SmolLM2-360M
From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Newsgroups: alt.freeweights.smollmSubject:

SmolLM2-360M

Date: 2026-11-14Commit: f8027fdSigned: 2DC28CC7B26A283B ✓

Text generation model with 362M parameters. Safetensors weights, 727 MB in all. Published by HuggingFaceTB under Apache-2.0.

362M params727MBSmolLM2-360Msafetensorspermissive
FactsParams362MSize727 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get HuggingFaceTB/SmolLM2-360M
# manifest sha256 9c73a084f02e… · 727 MB · 10 files
$ fw verify ./SmolLM2-360M HuggingFaceTB/SmolLM2-360M
From sourceHosted (signed)HuggingFaceTB/SmolLM2-360MLast check: 2026-11-14 21:11 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
727 MB
Weights
724 MB (safetensors)
Parameters
362M
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
HuggingFaceTB
Added
2026-11-14
Section
alt.freeweights.smollm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:11 UTCpassed

Model card

From the publisher at commit f8027fd. Shown as plain text with links; images open at the publisher.

SmolLM2#

Image: image/png

Table of Contents#

  1. Model Summary
  2. Limitations
  3. Training
  4. License
  5. Citation

Model Summary#

SmolLM2 is a family of compact language models available in three size: 135M, 360M, and 1.7B parameters. They are capable of solving a wide range of tasks while being lightweight enough to run on-device. More details in our paper: https://arxiv.org/abs/2502.02737

SmolLM2 demonstrates significant advances over its predecessor SmolLM1, particularly in instruction following, knowledge, reasoning. The 360M model was trained on 4 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new filtered datasets we curated and will release soon. We developed the instruct version through supervised fine-tuning (SFT) using a combination of public datasets and our own curated datasets. We then applied Direct Preference Optimization (DPO) using UltraFeedback.

The instruct model additionally supports tasks such as text rewriting, summarization and function calling thanks to datasets developed by Argilla such as Synth-APIGen-v0.1.

For more details refer to: https://github.com/huggingface/smollm. You will find pre-training, post-training, evaluation and local inference code.

How to use#
pip install transformers
Running the model on CPU/GPU/multi GPU#
  • Using full precision
# pip install transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-360M"
device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
# for multiple GPUs install accelerate and do `model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map="auto")`
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
inputs = tokenizer.encode("Gravity is", return_tensors="pt").to(device)
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
  • Using torch.bfloat16
# pip install accelerate
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
checkpoint = "HuggingFaceTB/SmolLM2-360M"
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
# for fp16 use `torch_dtype=torch.float16` instead
model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map="auto", torch_dtype=torch.bfloat16)
inputs = tokenizer.encode("Gravity is", return_tensors="pt").to("cuda")
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
>>> print(f"Memory footprint: {model.get_memory_footprint() / 1e6:.2f} MB")
Memory footprint: 723.56 MB

Evaluation#

In this section, we report the evaluation results of SmolLM2. All evaluations are zero-shot unless stated otherwise, and we use lighteval to run them.

Base Pre-Trained Model#

MetricsSmolLM2-360MQwen2.5-0.5BSmolLM-360M
HellaSwag54.551.251.8
ARC (Average)53.045.450.1
PIQA71.769.971.6
MMLU (cloze)35.833.734.4
CommonsenseQA38.031.635.3
TriviaQA16.94.39.1
Winogrande52.554.152.8
OpenBookQA37.437.437.2
GSM8K (5-shot)3.233.41.6

Instruction Model#

MetricSmolLM2-360M-InstructQwen2.5-0.5B-InstructSmolLM-360M-Instruct
IFEval (Average prompt/inst)41.031.619.8
MT-Bench3.664.163.37
HellaSwag52.148.047.9
ARC (Average)43.737.338.8
PIQA70.867.269.4
MMLU (cloze)32.831.730.6
BBH (3-shot)27.330.724.4
GSM8K (5-shot)7.4326.81.36

Limitations#

SmolLM2 models primarily understand and generate content in English. They can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.

Training#

Model#
  • Architecture: Transformer decoder
  • Pretraining tokens: 4T
  • Precision: bfloat16
Hardware#
  • GPUs: 128 H100
Software#

License#

Apache 2.0

Citation#

@misc{allal2025smollm2smolgoesbig,
      title={SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Model}, 
      author={Loubna Ben Allal and Anton Lozhkov and Elie Bakouch and Gabriel Martín Blázquez and Guilherme Penedo and Lewis Tunstall and Andrés Marafioti and Hynek Kydlíček and Agustín Piqueres Lajarín and Vaibhav Srivastav and Joshua Lochner and Caleb Fahlgren and Xuan-Son Nguyen and Clémentine Fourrier and Ben Burtenshaw and Hugo Larcher and Haojun Zhao and Cyril Zakka and Mathieu Morlon and Colin Raffel and Leandro von Werra and Thomas Wolf},
      year={2025},
      eprint={2502.02737},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.02737}, 
}

Files

10 files · 727 MBWeights 724 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.62 KB631f842e4a02262e07fc522ede86c816114541319dea53dbf86bac4539a24ac9
config.json689 B34f7801487078de7e434e19162c497e5cc6ff397080e40e8586627cb68a5168a
generation_config.json111 B2056c988e990b0d13670f63f2f3b87b3b6d07edaf7a3416998ba27dab2d8a059
merges.txt466 KB0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors724 MB7aaff6661428bed033abba9522bec81938678642cca3181fe752b6ca9e1e540f
special_tokens_map.json831 Be786b595b9a23148bf1630df78d9037a048ea671e48bfd3549a1e3c233742bb3
tokenizer.json2.10 MB9ca9acddb6525a194ec8ac7a87f24fbba7232a9a15ffa1af0c1224fcd888e47c
tokenizer_config.json3.66 KB4bb9af56a342753d39374f4016a16574cab299fe088e896f425ce3c433f61424
vocab.json801 KB82b84012e3add4d01d12ba14442026e49b8cbbaead1f79ecf3d919784f82dc79
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
f8027fd0ea pinned now manifest updated, same commit2026-11-14 21:11 UTC10 files · 727 MB
f8027fd0ea2026-11-14 21:11 UTC10 files · 727 MB

Use it

$ fw get HuggingFaceTB/SmolLM2-360M
# manifest sha256 9c73a084f02e… · 727 MB · 10 files
$ fw verify ./SmolLM2-360M HuggingFaceTB/SmolLM2-360M
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM2-360M.json --dir ./SmolLM2-360M $ python3 fw.py verify ./SmolLM2-360M ./HuggingFaceTB__SmolLM2-360M.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/SmolLM2-360M --revision f8027fd0eaeea54caa13c31d31b9fdc459c38b49 --local-dir ./SmolLM2-360M
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("HuggingFaceTB/SmolLM2-360M", revision="f8027fd0eaeea54caa13c31d31b9fdc459c38b49") model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-360M", revision="f8027fd0eaeea54caa13c31d31b9fdc459c38b49", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve HuggingFaceTB/SmolLM2-360M --revision f8027fd0eaeea54caa13c31d31b9fdc459c38b49

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
631f842e4a02262e07fc522ede86c816114541319dea53dbf86bac4539a24ac9
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Newsgroups: alt.freeweights.smollmSubject: SmolLM2-360MDate: 2026-11-14Commit: f8027fdSigned: 2DC28CC7B26A283B ✓
Upstream
HuggingFaceTB/SmolLM2-360M
Pinned commit
f8027fd0eaeea54caa13c31d31b9fdc459c38b49
Manifest
SmolLM2-360M.json · .minisig
Manifest sha256
9c73a084f02e0513291204c67e8989b3d0e657d5c649310f60a886391d4c254e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:11 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM2-360M.json $ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM2-360M.json.minisig $ minisign -Vm SmolLM2-360M.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

3 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
2
Fine-tunes 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/SmolLM2-360M
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. SmolLM2-360M.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of SmolLM2-360M. Each has its own license check and page.

From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Subject: 135M-lc-100k-rope-12B
From: nisten <huggingface.co/nisten>Subject: Biggie-SmoLlm-0.4B
From: onnx-community <huggingface.co/onnx-community>Subject: Biggie-SmoLlm-0.4B-ONNX
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-1.7B-bnb-4bit
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-1.7B-Instruct
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-135M-bnb-4bit