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

← All models

HuggingFaceTB_SmolLM2-1.7B

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. Evaluation
  3. Limitations
  4. Training
  5. License
  6. 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.02737v1

The 1.7B variant demonstrates significant advances over its predecessor SmolLM1-1.7B, particularly in instruction following, knowledge, reasoning, and mathematics. It was trained on 11 trillion tokens using a diverse dataset combination: FineWeb-Edu, DCLM, The Stack, along with new mathematics and coding datasets that 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. You can find the SFT dataset here: https://huggingface.co/datasets/HuggingFaceTB/smoltalk and finetuning code in the alignement handbook.

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-1.7B"
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
# 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: 3422.76 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

Metric SmolLM2-1.7B Llama-1B Qwen2.5-1.5B SmolLM1-1.7B
HellaSwag 68.7 61.2 66.4 62.9
ARC (Average) 60.5 49.2 58.5 59.9
PIQA 77.6 74.8 76.1 76.0
MMLU-Pro (MCF) 19.4 11.7 13.7 10.8
CommonsenseQA 43.6 41.2 34.1 38.0
TriviaQA 36.7 28.1 20.9 22.5
Winogrande 59.4 57.8 59.3 54.7
OpenBookQA 42.2 38.4 40.0 42.4
GSM8K (5-shot) 31.0 7.2 61.3 5.5

Instruction Model

Metric SmolLM2-1.7B-Instruct Llama-1B-Instruct Qwen2.5-1.5B-Instruct SmolLM1-1.7B-Instruct
IFEval (Average prompt/inst) 56.7 53.5 47.4 23.1
MT-Bench 6.13 5.48 6.52 4.33
OpenRewrite-Eval (micro_avg RougeL) 44.9 39.2 46.9 NaN
HellaSwag 66.1 56.1 60.9 55.5
ARC (Average) 51.7 41.6 46.2 43.7
PIQA 74.4 72.3 73.2 71.6
MMLU-Pro (MCF) 19.3 12.7 24.2 11.7
BBH (3-shot) 32.2 27.6 35.3 25.7
GSM8K (5-shot) 48.2 26.8 42.8 4.62

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: 11T
  • Precision: bfloat16

Hardware

  • GPUs: 256 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:9d13a97369cedd4b443c7526e9c620a617698176&dn=HuggingFaceTB_SmolLM2-1.7B

Open magnet in torrent client · infohash 9d13a97369cedd4b443c7526e9c620a617698176

Files & hashes

PathSizesha1sha256
README.md7.0 KB (7,201 B)dff0c00056eb74a28324336e27cadcca578b311a83c5404c1162e01c59e08fec9e8233b357ecf0ca3249e78f4b1ee13c5b3c320c
config.json635 B (635 B)fdd9cb3110ec94e0f9652f54a0fc48fe21595e7833397f6af8090f7290f27ce6fb1cd23a95fd0915a5c648dfd10b6002aaf7fc48
generation_config.json111 B (111 B)0fce861c328ff24830f3037d91ce773254447bf72056c988e990b0d13670f63f2f3b87b3b6d07edaf7a3416998ba27dab2d8a059
merges.txt455.5 KB (466,391 B)69503b13f727ba3812b6803e97442a6de05ef5eb0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors3.19 GB (3,422,777,952 B)34e52566bf79aaa403416f2dee4a1cd1a3db2dd21193528982f4ac0c0b707ce36fd7dc03a0ef6f3e1a432deb886dce2e90c300c0
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-1.7B/
Slug
HuggingFaceTB_SmolLM2-1.7B
Infohash
9d13a97369cedd4b443c7526e9c620a617698176
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

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

Provenance

Upstream repositoryHuggingFaceTB/SmolLM2-1.7B
Revision (pinned)effd688a12921b4cc83e3312b6feb579f70f9c71
Fetched at2026-09-02T05:36:45Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T05:37:18Z

apache-2.03.19 GB (3,426,161,997 bytes)transformerssafetensorsllamatext-generationeval-resultstext-generation-inferenceendpoints_compatible1 language (en)paper: 2502.02737