Inside SmolLM2

a transformer, layer by layer, in your browser
temperature
top-p
top-k
anti-loop (DRY)
repeat penalty

Loading the model into your browser

Everything runs locally in this tab: a Rust inference engine compiled to WebAssembly. The weights come straight from Hugging Face the first time and are cached for later visits.

starting…