HuggingFaceTB/SmolLM2-135M-Instruct
text-generation model by HuggingFaceTB
From the publisher
Model card & documentation
Source previewRead the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.
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…
Read the full model card ↗ · Preview checked 2026-10-29T21:29:24.545Z
Inside the original model card — Document outline
- SmolLM2
- Table of Contents
- Model Summary
- How to use
- Transformers
- Chat in TRL
- Transformers.js
- Evaluation
- Base pre-trained model
- Instruction model
- Limitations
- Training
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the model card
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
Model overview
HuggingFaceTB/SmolLM2-135M-Instruct is a text-generation model repository published by HuggingFaceTB on Hugging Face. The source reports the transformers library.
This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.
Model facts
- Task
- text-generation
- Library
- transformers
- Recent downloads (30 days)
- 847,550
- Cumulative likes
- 467
- Hugging Face trending score
- 0
- Reported safetensors parameters
- 134,515,008
- Architecture
- LlamaForCausalLM
- License
- apache-2.0
- Access
- Not gated by Hugging Face
- Created
- 2024-10-31T13:41:10.000Z
- Last modified
- 2025-09-22T20:43:15.000Z
Compatibility and lineage
Reported languages: en
Reported base models: HuggingFaceTB/SmolLM2-135M
Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.
Use and evaluate
Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.
No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.
Source and freshness
Source: Hugging Face Hub. Metadata observed 2026-11-01T06:51:29.042Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.