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

← All models

HuggingFaceTB_SmolLM2-360M-Instruct

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 pipeline_tag: text-generation tags:
  • safetensors
  • onnx
  • transformers.js base_model:
  • HuggingFaceTB/SmolLM2-360M

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 (for the 1.7B) thanks to datasets developed by Argilla such as Synth-APIGen-v0.1. You can find the SFT dataset here: https://huggingface.co/datasets/HuggingFaceTB/smol-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

Transformers

pip install transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-360M-Instruct"

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)

messages = [{"role": "user", "content": "What is the capital of France."}]
input_text=tokenizer.apply_chat_template(messages, tokenize=False)
print(input_text)
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=50, temperature=0.2, top_p=0.9, do_sample=True)
print(tokenizer.decode(outputs[0]))

Chat in TRL

You can also use the TRL CLI to chat with the model from the terminal:

pip install trl
trl chat --model_name_or_path HuggingFaceTB/SmolLM2-360M-Instruct --device cpu

Transformers.js

npm i @huggingface/transformers
import { pipeline } from "@huggingface/transformers";

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "HuggingFaceTB/SmolLM2-135M-Instruct",
);

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "What is the capital of France?" },
];

// Generate a response
const output = await generator(messages, { max_new_tokens: 128 });
console.log(output[0].generated_text.at(-1).content);
// "The capital of France is Paris."

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: 64 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:e45432ba0bf4808b8384fed6af121087d2fe5070&dn=HuggingFaceTB_SmolLM2-360M-Instruct

Open magnet in torrent client · infohash e45432ba0bf4808b8384fed6af121087d2fe5070

Files & hashes

PathSizesha1sha256
README.md7.1 KB (7,304 B)5ed0ef7d7e4c1304d542a073ff5767990d410e2f6b88794416ac9da8f254ebb0bec228967a2bdd0badf9a2853863928b25facd95
all_results.json786 B (786 B)7e2fda78aa98e8dd9751479458ae5eb489ba91fb71face5e244d784819f937a25206865c295c8889fe4359eec28bbec85d02da0d
config.json846 B (846 B)4f2ae86545bb5c1d4fcc55644deef86be50a7dee224f72354f10d617a359cc82ad15a3c96e866b9b2ffadb81997eeea9e88e22ee
eval_results.json589 B (589 B)f9fb38e792a6384477edd90d46deca7c08135ac5db9bcb5c4f2a3be0d7e88f86af26f375c22c240954af86942d1554d87a488ce8
generation_config.json132 B (132 B)da6c4d71a43aa7e6f785bdbb28ea5025438a73fa87b916edaaab66b3899b9d0dd0752727dff6666686da0504d89ae0a6e055a013
merges.txt455.5 KB (466,391 B)69503b13f727ba3812b6803e97442a6de05ef5eb0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors690.2 MB (723,674,912 B)c34b6c03bf5f01ba4bc27aa1db55092a48c2d5eae6bffe7435d7ddc10fd3b9a9efd429dafbacb1cb17015fb5562664e7532bf86e
runs/Oct31_09-01-58_ip-26-0-172-142/events.out.tfevents.1730365788.ip-26-0-172-142.451351.076.3 KB (78,139 B)3e9275a374fed6237f7b99a913982259688ef6356a59625dee7fb61068e6a6ea53682ee0d91da3f92189019d5ceed597d21ebf27
runs/Oct31_09-01-58_ip-26-0-172-142/events.out.tfevents.1730371773.ip-26-0-172-142.451351.1828 B (828 B)f43478f0e381683337679580318f5cd3ba08fb50ac5691a0cdfdd383d29b69e85c4aaf632c695ce8fd31683bb9512f310fbf1250
runs/Oct31_09-19-57_ip-26-0-174-36/events.out.tfevents.1730366818.ip-26-0-174-36.3233632.038.1 KB (38,996 B)f037cbdde5e28aaf382909c54a74f45f91ad53d944f4f653d8d22e5db793f6743dc486f1d3f0919a66d5bbd69ebfd22b9e1f598b
runs/Oct31_09-20-43_ip-26-0-161-142/events.out.tfevents.1730366856.ip-26-0-161-142.1301887.036.7 KB (37,621 B)f45366e219de022b5a3cb6d14f41143b6856fb83684365d127b952fdfd215e337f4f8dc5bc4d37ef88fb608632d244ec6f86a449
special_tokens_map.json655 B (655 B)44719d2e365acac0637fd25a3acf46494ca459402b7379f3ae813529281a5c602bc5a11c1d4e0a99107aaa597fe936c1e813ca52
tokenizer.json2.0 MB (2,104,556 B)f922b1797f0c88e71addc8393787831f2477a4bd9ca9acddb6525a194ec8ac7a87f24fbba7232a9a15ffa1af0c1224fcd888e47c
tokenizer_config.json3.7 KB (3,764 B)8c7b22013909450429303ed10be4398bd63f54574ec77d44f62efeb38d7e044a1db318f6a939438425312dfa333b8382dbad98df
train_results.json232 B (232 B)6ed3002b2d8571439fbddcdc9a4ca7e2f081e7d5fceae2634b0a268a8adbda73fd0b2192922b496054011f588d2c6e888db1cea1
trainer_state.json56.3 KB (57,621 B)fe84d187bf20986661ba96bc2ec284c8ce8720cc2263f580ae0d7890acc11253b83138b3fc1250dc6728688a3387ce813b92eed1
training_args.bin6.4 KB (6,520 B)14ca64fa54e5f98d94dff6c7081af8cbafbf5f3f3b7e0f2e2a3074b496c74cd65dd47e8da90de5ccf808bc233cb1420827c7d68f
vocab.json781.9 KB (800,662 B)0ad5ecc2035b7031b88afb544ee95e2d49baa48482b84012e3add4d01d12ba14442026e49b8cbbaead1f79ecf3d919784f82dc79

Cite this release

Canonical URL
https://aiseedbank.org/models/HuggingFaceTB_SmolLM2-360M-Instruct/
Slug
HuggingFaceTB_SmolLM2-360M-Instruct
Infohash
e45432ba0bf4808b8384fed6af121087d2fe5070
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-Instruct.SHA256SUMS (+ minisign signature).

Provenance

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

Trackers

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

apache-2.0693.6 MB (727,280,554 bytes)transformerstensorboardonnxsafetensorsllamatext-generationtransformers.jsconversationaltext-generation-inferenceendpoints_compatible1 language (en)paper: 2502.02737