N Neurarch Architectures Models Checks Data Docs Open the app

Models / distilbert

distilbert-base-uncased

Reconstructed from its own config.json with no weights read. 7.1M downloads on Hugging Face.

Our count against the checkpoint

The left number comes from the graph. The right one is the number of scalars in the published weight files. Nothing on this page was tuned to make them agree.

Derived from structure
66.4M
66,352,128 parameters
In the published checkpoint
67.0M
66,985,530 scalars · safetensors.total, read 2026-09-06
Delta
-0.95%

What it costs to run

Cost is a roofline estimate on the priced GPU for 10 epochs at batch 32 over 50,000 samples (assumed; no dataset attached). GPU fit is fp32 weights plus gradients plus two Adam moments (16 bytes per parameter) with 1.3x headroom; activations are not included and grow with batch size.

Layers
26
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$0.90
CardMemory
T4 (16GB)weights + activationsfits
A100 (40GB)weights + activationsfits
H100 (80GB)weights + activationsfits

Structure

28 nodes. Output shapes are propagated from the input shape, batch dimension excluded.

LayerTypeOutput shape
1InputInput1 × 512
2EmbeddingEmbedding1 × 512 × 768
3Positional_EmbeddingLearned Pos Embed1 × 512 × 768
4Attention_1Multi-Head Attention1 × 512 × 768
5Add_1Add1 × 512 × 768
6LayerNorm_1_1LayerNorm1 × 512 × 768
7FFN_1Feed Forward1 × 512 × 768
8Attention_2Multi-Head Attention1 × 512 × 768
9Add_2Add1 × 512 × 768
10LayerNorm_2_1LayerNorm1 × 512 × 768
11FFN_2Feed Forward1 × 512 × 768
12Attention_3Multi-Head Attention1 × 512 × 768
13Add_3Add1 × 512 × 768
14LayerNorm_3_1LayerNorm1 × 512 × 768
15FFN_3Feed Forward1 × 512 × 768
16Attention_4Multi-Head Attention1 × 512 × 768
17Add_4Add1 × 512 × 768
18LayerNorm_4_1LayerNorm1 × 512 × 768
19FFN_4Feed Forward1 × 512 × 768
20Attention_5Multi-Head Attention1 × 512 × 768
21Add_5Add1 × 512 × 768
22LayerNorm_5_1LayerNorm1 × 512 × 768
23FFN_5Feed Forward1 × 512 × 768
24Attention_6Multi-Head Attention1 × 512 × 768
25Add_6Add1 × 512 × 768
26LayerNorm_6_1LayerNorm1 × 512 × 768
27FFN_6Feed Forward1 × 512 × 768
28OutputOutput1 × 512 × 768

What the verifier says

No finding on the reconstructed graph. See the checks.

Do this to your own model

Same numbers, on a model in your repo, in one command. No account.

pip install neurarch-trace
neurarch-trace distilbert/distilbert-base-uncased --plan --share