alt.freeweights.smollm / 135M-lc-100k-rope-12B
From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Newsgroups: alt.freeweights.smollmSubject:

135M-lc-100k-rope-12B

Date: 2026-11-15Commit: 93efa2fSigned: 2DC28CC7B26A283B ✓

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

135M params272MB135M-lc-100k-rope-12Bsafetensorspermissive
FactsParams135MSize272 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get HuggingFaceTB/135M-lc-100k-rope-12B
# manifest sha256 3ba7aaedd67f… · 272 MB · 10 files
$ fw verify ./135M-lc-100k-rope-12B HuggingFaceTB/135M-lc-100k-rope-12B
From sourceHosted (signed)HuggingFaceTB/135M-lc-100k-rope-12BLast check: 2026-11-15 02:25 UTC

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

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
272 MB
Weights
269 MB (safetensors)
Parameters
135M
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
HuggingFaceTB
Added
2026-11-15
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-15 02:25 UTCpassed

Model card

From the publisher at commit 93efa2f. 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 135M model was trained on 2 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 at https://github.com/huggingface/alignment-handbook/tree/main/recipes/smollm2

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-135M"
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-135M"
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-135M-8kSmolLM-135M
HellaSwag42.141.2
ARC (Average)43.942.4
PIQA68.468.4
MMLU (cloze)31.530.2
CommonsenseQA33.932.7
TriviaQA4.14.3
Winogrande51.351.3
OpenBookQA34.634.0
GSM8K (5-shot)1.41.0

Instruction model#

MetricSmolLM2-135M-InstructSmolLM-135M-Instruct
IFEval (Average prompt/inst)29.917.2
MT-Bench1.981.68
HellaSwag40.938.9
ARC (Average)37.333.9
PIQA66.364.0
MMLU (cloze)29.328.3
BBH (3-shot)28.225.2
GSM8K (5-shot)1.41.4

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: 2T
  • Precision: bfloat16
Hardware#
  • GPUs: 64 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 · 272 MBWeights 269 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.34 KBd1ba68cae64a89b6b434b11526e6e2271ee5ffd2c914ec35ed515f9d84c6085c
config.json704 B1d556eab73b69c7f11f64c557a2f9c6f440bd4c6b89bb2584a6b498c92603843
generation_config.json111 B2056c988e990b0d13670f63f2f3b87b3b6d07edaf7a3416998ba27dab2d8a059
merges.txt466 KB0b54e8aa4e53d5383e2e4bc635a56b43f9647f7b13832d5d9ecd8f82dac4f510
model.safetensors269 MB80521b40281d6ce74e35c9282c22539e75aa0ac8578892b2a59955ef78d55da1
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
93efa2f097 pinned now2026-11-15 02:25 UTC10 files · 272 MB

Use it

$ fw get HuggingFaceTB/135M-lc-100k-rope-12B
# manifest sha256 3ba7aaedd67f… · 272 MB · 10 files
$ fw verify ./135M-lc-100k-rope-12B HuggingFaceTB/135M-lc-100k-rope-12B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/HuggingFaceTB/135M-lc-100k-rope-12B.json --dir ./135M-lc-100k-rope-12B $ python3 fw.py verify ./135M-lc-100k-rope-12B ./HuggingFaceTB__135M-lc-100k-rope-12B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/135M-lc-100k-rope-12B --revision 93efa2f097d58c2a74874c7e644dbc9b0cee75a2 --local-dir ./135M-lc-100k-rope-12B
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/135M-lc-100k-rope-12B", revision="93efa2f097d58c2a74874c7e644dbc9b0cee75a2") model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/135M-lc-100k-rope-12B", revision="93efa2f097d58c2a74874c7e644dbc9b0cee75a2", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve HuggingFaceTB/135M-lc-100k-rope-12B --revision 93efa2f097d58c2a74874c7e644dbc9b0cee75a2

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-15
Text in
README.md
Text sha256
d1ba68cae64a89b6b434b11526e6e2271ee5ffd2c914ec35ed515f9d84c6085c
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: 135M-lc-100k-rope-12BDate: 2026-11-15Commit: 93efa2fSigned: 2DC28CC7B26A283B ✓
Upstream
HuggingFaceTB/135M-lc-100k-rope-12B
Pinned commit
93efa2f097d58c2a74874c7e644dbc9b0cee75a2
Manifest
135M-lc-100k-rope-12B.json · .minisig
Manifest sha256
3ba7aaedd67f2d2a31974c248a472d66592a79354d2200deed09670adb2708fc
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/135M-lc-100k-rope-12B.json $ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/135M-lc-100k-rope-12B.json.minisig $ minisign -Vm 135M-lc-100k-rope-12B.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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/135M-lc-100k-rope-12B
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. 135M-lc-100k-rope-12B.json. Provenance. Takedown history: none.
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
From: mlx-community <huggingface.co/mlx-community>Subject: SmolLM-135M-Instruct-4bit