Releases
What's new in the library, newest first. Every model is verified against its published weights before it is listed here.
verified
10 models · 1 tool
Small language models · Ten small language models from 2023 to 2026, from TinyLlama to LFM3: dense layers in TinyLlama, OLMo and Qwen3, sliding-window attention in Gemma 2 and 3, experts in Granite, a state-space model in Mamba-2, and hybrids in Granite 4, RecurrentGemma and LFM3. And a new Diagram you open block by block.
New tool
Diagram
Most model diagrams are black boxes too. This one opens: every box is a block of the program, so you can open it level by level, click it to find its lines, or put your cursor on a line to see its box.
Language models
- recurrentgemma-2b.byhand2.7BGriffin: two recurrent layers for each local-attention layer, so its memory stays the same however long the text.
- gemma-2-2b.byhand2.6BLocal and global attention taking turns, 13 pairs of them, with both the scores and the logits soft-capped by tanh.
- lfm3-1.7b.byhand1.7BLiquid AI's hybrid: short convolutions in 13 of its 24 layers, sliding and global attention in the other 11.
- qwen3-1.7b.byhand1.7B28 layers, each head's queries and keys normalised before their rotary positions (QK-norm).
- granite-moe-1b.byhand1.3B1.33B parameters, about 400 million at work per token: 8 of 32 experts chosen in each of 24 layers.
- olmo-1b.byhand1.2BOpen down to its training data, with a LayerNorm that learns nothing: no scale, no shift, in all 16 layers.
- tinyllama-1.1b.byhand1.1BLlama 2's design at 1.1B parameters: 22 layers, 32 query heads sharing 4 key and value heads.
- gemma-3-1b.byhand1BFive sliding-window layers for every global one, each kind with its own rotary base: 10,000 near, 1,000,000 far.
- granite4-350m.byhand352MIBM's small dense model, its embedding, residuals, attention and logits each scaled by a multiplier of its own.
- mamba2-130m.byhand129MNo attention at all: 24 layers of Mamba-2's state-space scan, each token updating a fixed-size state.
9 models · 1 tool
DeepSeek, 2023 → 2026 · Three years of DeepSeek, from Coder 1.3B to V4-Flash: many small experts in DeepSeekMoE, attention through one small latent in V2, a router balanced by a bias in V3, an indexer that picks what attention reads in V3.2, and Janus-Pro, one model that both reads and draws images.
New tool
WebGPU
The WebGPU tool runs a language model in your browser, on your own graphics card, with the weights its publisher put on Hugging Face. There's no GPU to reserve and no environment to set up: one click, and you watch it run.
DeepSeek
- deepseek-v3.2-exp.byhand671.9BDeepSeek-V3 taught to skim: a lightning indexer picks 2,048 earlier tokens for each word to read, so long contexts cost far less.
- deepseek-v3.byhand671B671B parameters, 37 billion at work per token, with experts kept in balance by a bias that steers the choice but never the answer.
- deepseek-v4-flash.byhand284.3BFour residual streams instead of one, and attention that compresses the distant past before reading it: 284B parameters, a fraction active per token.
- deepseek-moe-16b.byhand16.4B64 small experts, 6 chosen per token, plus 2 that every token shares: 16.4B parameters, only 2.8 billion at work for each word.
- deepseek-v2-lite.byhand15.7BDeepSeek-V2's big idea at 16B: every token's keys and values squeezed through one 512-wide latent, so the memory long conversations need shrinks.
- janus-pro-1b.byhand2BOne model that both looks and draws: Janus-Pro reads images through one encoder and paints them as tokens through another.
- deepseek-r1-distill-qwen-1.5b.byhand1.8BDeepSeek-R1's reasoning distilled into a 1.5B Qwen2: the same architecture, the weights are the story.
- deepseek-coder-1.3b.byhand1.3BWhere DeepSeek began: a Llama-style 1.3B model trained on 2 trillion tokens, 87% of them code, reading 16K tokens at a time.
- janus-pro-1b-vq.byhand42.6MThe other half of Janus-Pro's drawing: 576 codes back to a 384x384 image.
10 models · 1 tool
Open language models · The open models of the GPT era (OPT, Pythia, GPT-Neo, BLOOM) and BERT's successors from RoBERTa to ModernBERT, with Qwen2, a translator and the library's first mixture of experts.
New tool
Size
The Size tool turns every axis of a model into a slider. Drag one and the program is rewritten, and its parameters, memory and compute follow.
Language Models
- bloom-560m.byhand559MA thousand researchers, 46 languages: BLOOM drops position embeddings and simply makes distant words count for less.
- qwen2-0.5b.byhand494MHalf a billion parameters with the kit every small LLM now shares: grouped-query attention, RoPE and SwiGLU.
- modernbert-base.byhand150MBERT rebuilt six years later, with 8,192 tokens of context instead of 512.
- deberta-v3-small.byhand142MDeBERTa keeps what a word means and where it sits in separate vectors, and lets attention weigh each on its own.
- opt-125m.byhand125MMeta's open answer to GPT-3: its recipe, its weights and even its training logbook, in sizes from 125 million parameters up.
- gpt-neo-125m.byhand125MBefore Llama there was GPT-Neo: a volunteer collective's open GPT-3.
- roberta-base.byhand125MSame architecture as BERT, trained longer on ten times the data: RoBERTa showed BERT had been undertrained all along.
- marian-en-de.byhand73.9MOne language pair, one job: a Helsinki encoder-decoder that turns English into German, one of over a thousand such models.
- pythia-70m.byhand70.4MBuilt to be studied: every Pythia model saw the same data in the same order, with checkpoints saved all along the way.
Other
- switch-base-8.byhand619MEight experts, and each word visits just one: more parameters, the same work per word.
10 models · 1 tool
A decade of vision · From VGG (2014) to DINOv2 (2023), and the first models in the library that detect and segment.
New tool
Search by component
Find every model built with a component (attention, ReLU, RMSNorm, convolution), see how many times each uses it, and combine components.
Vision Models
- vgg-16.byhand138MNo tricks, just 3×3 convolutions stacked sixteen layers deep, and VGG became the model a generation of researchers learned on.
- detr-resnet-50.byhand41.6MDETR skips the box-sorting busywork: a transformer simply says where the objects are, as a set.
- convnext-tiny.byhand28.6MWhat if a CNN borrowed every trick from the transformers? ConvNeXt does, and keeps pace with them.
- swin-tiny.byhand28.3MSwin lets each patch chat within its window, then shifts the windows so neighbours get to talk too.
- inception-v3.byhand23.9MWhy pick one filter size when you can run several side by side? Inception does, in parallel branches.
- dinov2-small.byhand22.1MNo labels, just a lot of images: DINOv2 taught itself to see, and its features work for almost any vision task.
- yolos-tiny.byhand6.5MGive a plain Vision Transformer a few extra tokens and it learns to find objects: that's YOLOS.
- efficientnet-b0.byhand5.3MDeeper, wider or sharper? EfficientNet says yes to all three, by one balanced rule, and B0 is where the family starts.
- segformer-b0.byhand3.8MEvery pixel gets a label: SegFormer does it with a light transformer and a decoder that's barely there.
- mobilenet-v2.byhand3.5MWho says vision needs a data centre? MobileNetV2 fits in your phone with 3.5 million parameters.
8 models · 3 papers
Small and modern · Today's small models (Qwen3, Gemma 3, SmolLM, Mamba) and the first papers read into ByHand.
Language Models
- qwen3-0.6b.byhand596MQwen3 squeezes a modern chat model into 0.6 billion parameters, small enough to run on your laptop.
- gemma-3-270m.byhand268MGemma 3 at 270 million parameters, and more than half of them are its huge 262,144-token vocabulary.
- smollm-135m.byhand135MSmall, fast and surprisingly capable: SmolLM is the Llama recipe shrunk to 135 million parameters.
- mamba-130m.byhand129MNo attention at all: Mamba reads text like a stream, carrying a selective state forward one token at a time.
- t5-small.byhand60.5MT5 turns every task into text in, text out: translate, summarize, answer, all with one model.
- all-minilm-l6-v2.byhand22.6MSix layers and 23 million parameters turn a sentence into a point in space you can search.
Vision Models
- clip-vit-b32.byhand87.8MCLIP learned to match pictures with their captions, so it can recognize things nobody labelled for it.
- unet.byhand7.8MDown to understand, back up to draw: U-Net's U shape outlines abnormalities in brain scans, pixel by pixel.
7 models · 3 examples
Initial release · The classics, from LeNet (1998) to GPT-2 and Whisper: the models that defined each field.
Language Models
- gpt2-small.byhand124MThe grandparent of ChatGPT: 124 million parameters that taught the world what next-word prediction can do.
- bert-base.byhand110MBERT learned language by playing fill-in-the-blank, reading the whole sentence in both directions at once.
Vision Models
- vit-b16.byhand86.6MAn image is worth 16×16 words: ViT cuts a picture into patches and reads them like a sentence.
- alexnet.byhand61.1MThe 2012 network that won ImageNet by a mile and kicked off the deep learning boom.
- resnet-18.byhand11.7MAdd a shortcut around every block and networks can finally go deep: that's ResNet's one big idea.
- lenet-5.byhand62KBefore ImageNet, before GPUs: LeNet read handwritten digits in 1998 with just 62 thousand parameters.
Speech Models
- whisper-tiny-encoder.byhand8.2MWhisper's ears: the encoder that turns 30 seconds of sound into something a decoder can read.
Examples
- self-attention.byhandOne sequence attending to itself
- small-mlp.byhandA small MLP, small enough to draw every neuron
- transformer-classic.byhandThe Transformer