AI SeedbankHelp preserve open and free AI for humanity's future

← All models

HuggingFaceTB_SmolLM2-360M

HuggingFaceTB · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: 1 · Leechers: 0

Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


library_name: transformers license: apache-2.0 language:

  • en

SmolLM2

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

Metrics SmolLM2-360M Qwen2.5-0.5B SmolLM-360M
HellaSwag 54.5 51.2 51.8
ARC (Average) 53.0 45.4 50.1
PIQA 71.7 69.9 71.6
MMLU (cloze) 35.8 33.7 34.4
CommonsenseQA 38.0 31.6 35.3
TriviaQA 16.9 4.3 9.1
Winogrande 52.5 54.1 52.8
OpenBookQA 37.4 37.4 37.2
GSM8K (5-shot) 3.2 33.4 1.6

Instruction Model

Metric SmolLM2-360M-Instruct Qwen2.5-0.5B-Instruct SmolLM-360M-Instruct
IFEval (Average prompt/inst) 41.0 31.6 19.8
MT-Bench 3.66 4.16 3.37
HellaSwag 52.1 48.0 47.9
ARC (Average) 43.7 37.3 38.8
PIQA 70.8 67.2 69.4
MMLU (cloze) 32.8 31.7 30.6
BBH (3-shot) 27.3 30.7 24.4
GSM8K (5-shot) 7.43 26.8 1.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

  • Training Framework: nanotron

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}, 
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:2c249a89808ff86bb24a9d574385294c077a3f0a&dn=HuggingFaceTB_SmolLM2-360M

Open magnet in torrent client · infohash 2c249a89808ff86bb24a9d574385294c077a3f0a

Files & hashes

PathSizesha1sha256
README.md6.5 KB (6,623 B)75cae4c3d8f5f25a3f22ef6427403db2bb3dc83b631f842e4a02262e07fc522ede86c816114541319dea53dbf86bac4539a24ac9
config.json689 B (689 B)2c111af0f7d9845b3b9910d3d18f7cdd94bf16c434f7801487078de7e434e19162c497e5cc6ff397080e40e8586627cb68a5168a
generation_config.json111 B (111 B)0fce861c328ff24830f3037d91ce773254447bf72056c988e990b0d13670f63f2f3b87b3b6d07edaf7a3416998ba27dab2d8a059
merges.txt455.5 KB (466,391 B)69503b13f727ba3812b6803e97442a6de05ef5eb0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors690.2 MB (723,674,912 B)05561bb4b5d8dbb5f2018499470c890cd7e09eaf7aaff6661428bed033abba9522bec81938678642cca3181fe752b6ca9e1e540f
special_tokens_map.json831 B (831 B)f6652f246cb895ca1edfb16d10b57917b266e335e786b595b9a23148bf1630df78d9037a048ea671e48bfd3549a1e3c233742bb3
tokenizer.json2.0 MB (2,104,556 B)f922b1797f0c88e71addc8393787831f2477a4bd9ca9acddb6525a194ec8ac7a87f24fbba7232a9a15ffa1af0c1224fcd888e47c
tokenizer_config.json3.6 KB (3,658 B)d45192775d58298087a1fedf5967fe5b63b091ab4bb9af56a342753d39374f4016a16574cab299fe088e896f425ce3c433f61424
vocab.json781.9 KB (800,662 B)0ad5ecc2035b7031b88afb544ee95e2d49baa48482b84012e3add4d01d12ba14442026e49b8cbbaead1f79ecf3d919784f82dc79

Cite this release

Canonical URL
https://aiseedbank.org/models/HuggingFaceTB_SmolLM2-360M/
Slug
HuggingFaceTB_SmolLM2-360M
Infohash
2c249a89808ff86bb24a9d574385294c077a3f0a
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: HuggingFaceTB_SmolLM2-360M.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryHuggingFaceTB/SmolLM2-360M
Revision (pinned)f8027fd0eaeea54caa13c31d31b9fdc459c38b49
Fetched at2026-09-02T05:40:00Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:40:08Z

apache-2.0693.4 MB (727,058,433 bytes)transformerssafetensorsllamatext-generationeval-resultstext-generation-inferenceendpoints_compatible1 language (en)paper: 2502.02737