byhandPro Tools

Search by component

The library's search box finds models by what they are built of, not only by name. Type a component, such as attention, ReLU or RMSNorm, and you get every model that contains it, with how many times.

Typing gro and picking Grouped-Query Attention, then attention, then gqa rmsnorm

Try it: attention. Every search on this page is a link: it opens the library with that search done.

Search for a component

  1. Open the library.
  2. Click the search box and start typing a component, for example gro.
  3. Pick a suggestion, such as Grouped-Query Attention, with the number of programs that have it at the right, or keep typing and press Enter.

The library shows the models that contain it. Each card has a match chip that says why it matched and how many times the model uses it. The suggestion shows how many programs have it today; the library grows every week, so the examples below are a few of them:

you typefor example
grouped query attentionSmolLM (×30), Qwen3 (×28)
rmsnormDeepSeek-V3 (×123), Gemma 3 (×73), SmolLM (×61), Qwen3 (×57)
reluInception v3 (×94), MobileNetV2 (×52), EfficientNet (×49), U-Net (×18)
swigluSmolLM, Qwen3 and the Nestor paper
sliding window attentionGemma 3 (×15)

The count is how many times the component appears in the model, written out: Qwen3's ×28 is one grouped-query attention block in each of its 28 layers.

Search for a whole family

"attention": each card's chip names its kind, Sliding-Window Attention ×15 on Gemma 3, Grouped-Query Attention ×28 on Qwen3

A family's name finds every member of it:

you typeit includes
attentionmulti-head, masked, cross, grouped-query, multi-query, multi-head latent, sliding-window
norm or normalizationLayerNorm, RMSNorm, BatchNorm, GroupNorm, Add & Norm, residual
conv or cnnconvolution, Conv-BN-ReLU, residual blocks, pooling, depthwise-separable, transposed conv
mlp or feed forwardfeed-forward, SwiGLU, mixture of experts, router, experts
recurrent or state spaceMamba, selective SSM, RNN, LSTM, GRU, RWKV
activationReLU, ReLU6, GELU, SiLU, sigmoid, tanh, softplus, ELU

Each card's chip names the exact kind it has. For example, attention shows "Sliding-Window Attention ×15" on Gemma 3 and "Multi-Head Attention ×12" on BERT.

Combine components

Type more than one, and you get the models that have all of them:

"gqa rmsnorm" finds Qwen3 and SmolLM, each chip naming both
  • gqa rmsnorm finds the models with both: SmolLM, Qwen2, Qwen3 and DeepSeek-R1-Distill.
  • relu batchnorm finds the CNNs that pair them.

A word the search doesn't know as a component is matched against the card's text (its name, publisher and task) as before, so qwen attention works too.

Names it understands

Different names for the same thing find the same component:

thesemean
gqa, grouped query, grouped-query attentionGrouped-Query Attention
conv, convolutionConvolution
layer norm, layernormLayerNorm
moe, mixture of expertsMixture of Experts
rope, rotaryRotary positions
ssm, state spaceSelective state space

How it works

Every model in the library is a .byhand program. The search reads the same structure the diagrams are drawn from, so a match means the model really contains that component, counted from the program. It isn't a word that happens to appear in a description.

The search doesn't look inside a program's text: its names and comments aren't searched.

Limits

  • Cross-attention, multi-head latent attention and the recurrent cells (RNN, LSTM, GRU) are in the vocabulary, but no model in the library uses them yet. T5's encoder-decoder attention is counted as multi-head attention for now.
  • A paper's base program is indexed, but only the paper itself appears in the results.