Transformer

SmolLM2-135M · 30 layers · 9 heads · d=576 · 135M params

SmolLM2-135M runs in the browser. Every number comes from its published weights. The model processes tokens from left to right. The same forward pass scores input sentences and generates new text.

Model

Weights total 269 MB. The browser downloads them once from the Hugging Face hub and caches them locally. Typed text never leaves the browser. The page requests only the Google Fonts stylesheet, the jsDelivr tokenizer script and the Hugging Face model weights.

Computed live in this page from published model weights using transformers.js for tokenization.