HuggingFaceTB / SmolLM2-1.7B-intermediate-checkpoints

huggingface.co
Total runs: 478
24-hour runs: 0
7-day runs: 112
30-day runs: 112
Model's Last Updated: Fevereiro 27 2025

Introduction of SmolLM2-1.7B-intermediate-checkpoints

Model Details of SmolLM2-1.7B-intermediate-checkpoints

SmolLM2-1.7B Intermediate Checkpoints

We are releasing an intermediate checkpoint of SmolLM2 to enable further research on mechanistic interpretability and learning dynamics. This repo contains the checkpoint every 125000 steps which correspond to ~250B tokens.

How to Load a Checkpoint
# pip install transformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "HuggingFaceTB/SmolLM2-1.7B-intermediate-checkpoints"
revision = "step-125000" # replace by the revision you want
device = torch.device("cuda" if torch.cuda.is_available() else "mps" if hasattr(torch, 'mps') and torch.mps.is_available() else "cpu")
tokenizer = AutoTokenizer.from_pretrained(checkpoint, revision=revision)
model = AutoModelForCausalLM.from_pretrained(checkpoint, revision=revision).to(device)
inputs = tokenizer.encode("Gravity is", return_tensors="pt").to(device)
outputs = model.generate(inputs)
print(tokenizer.decode(outputs[0]))
Training Details

For comprehensive information about SmolLM2 training methodology, please refer to:

Checkpoint Details

The GBS (Global Batch Size) in token of SmolLM2-1.7B is 2 097 152. To get the number of tokens knowing the step you need to do:

nb_tokens = nb_step * GBS
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}, 
}

Runs of HuggingFaceTB SmolLM2-1.7B-intermediate-checkpoints on huggingface.co

478
Total runs
0
24-hour runs
102
3-day runs
112
7-day runs
112
30-day runs

More Information About SmolLM2-1.7B-intermediate-checkpoints huggingface.co Model

More SmolLM2-1.7B-intermediate-checkpoints license Visit here:

https://choosealicense.com/licenses/apache-2.0

SmolLM2-1.7B-intermediate-checkpoints huggingface.co

SmolLM2-1.7B-intermediate-checkpoints huggingface.co is an AI model on huggingface.co that provides SmolLM2-1.7B-intermediate-checkpoints's model effect (), which can be used instantly with this HuggingFaceTB SmolLM2-1.7B-intermediate-checkpoints model. huggingface.co supports a free trial of the SmolLM2-1.7B-intermediate-checkpoints model, and also provides paid use of the SmolLM2-1.7B-intermediate-checkpoints. Support call SmolLM2-1.7B-intermediate-checkpoints model through api, including Node.js, Python, http.

SmolLM2-1.7B-intermediate-checkpoints huggingface.co Url

https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-intermediate-checkpoints

HuggingFaceTB SmolLM2-1.7B-intermediate-checkpoints online free

SmolLM2-1.7B-intermediate-checkpoints huggingface.co is an online trial and call api platform, which integrates SmolLM2-1.7B-intermediate-checkpoints's modeling effects, including api services, and provides a free online trial of SmolLM2-1.7B-intermediate-checkpoints, you can try SmolLM2-1.7B-intermediate-checkpoints online for free by clicking the link below.

HuggingFaceTB SmolLM2-1.7B-intermediate-checkpoints online free url in huggingface.co:

https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-intermediate-checkpoints

SmolLM2-1.7B-intermediate-checkpoints install

SmolLM2-1.7B-intermediate-checkpoints is an open source model from GitHub that offers a free installation service, and any user can find SmolLM2-1.7B-intermediate-checkpoints on GitHub to install. At the same time, huggingface.co provides the effect of SmolLM2-1.7B-intermediate-checkpoints install, users can directly use SmolLM2-1.7B-intermediate-checkpoints installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

SmolLM2-1.7B-intermediate-checkpoints install url in huggingface.co:

https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-intermediate-checkpoints

Url of SmolLM2-1.7B-intermediate-checkpoints

SmolLM2-1.7B-intermediate-checkpoints huggingface.co Url

Provider of SmolLM2-1.7B-intermediate-checkpoints huggingface.co

HuggingFaceTB
ORGANIZATIONS

Other API from HuggingFaceTB