N Neurarch Architectures Models Checks Data Docs Open the app

Models / bert

jina-embeddings-v2-small-en

Reconstructed from its own config.json with no weights read. 928K 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
32.4M
32,430,080 parameters
In the published checkpoint
32.7M
32,690,688 scalars · safetensors.total, read 2025-01-06
Delta
-0.80%

custom-code This repository ships its own modeling code (`auto_map`), so `config.json` names a class in the repo rather than an architecture `transformers` defines. The graph below is what those config keys mean under `transformers` semantics, which is not necessarily what the repo's own file builds. A gap here is a statement about what we read, not about the checkpoint.

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
18
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$9.05
CardMemory
T4 (16GB)weights + activationsfits
A100 (40GB)weights + activationsfits
H100 (80GB)weights + activationsfits

Structure

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

LayerTypeOutput shape
1InputInput1 × 8192
2EmbeddingEmbedding1 × 8192 × 512
3Positional_EmbeddingLearned Pos Embed1 × 8192 × 512
4Attention_1Multi-Head Attention1 × 8192 × 512
5Add_1Add1 × 8192 × 512
6LayerNorm_1_1LayerNorm1 × 8192 × 512
7FFN_1Feed Forward1 × 8192 × 512
8Attention_2Multi-Head Attention1 × 8192 × 512
9Add_2Add1 × 8192 × 512
10LayerNorm_2_1LayerNorm1 × 8192 × 512
11FFN_2Feed Forward1 × 8192 × 512
12Attention_3Multi-Head Attention1 × 8192 × 512
13Add_3Add1 × 8192 × 512
14LayerNorm_3_1LayerNorm1 × 8192 × 512
15FFN_3Feed Forward1 × 8192 × 512
16Attention_4Multi-Head Attention1 × 8192 × 512
17Add_4Add1 × 8192 × 512
18LayerNorm_4_1LayerNorm1 × 8192 × 512
19FFN_4Feed Forward1 × 8192 × 512
20OutputOutput1 × 8192 × 512

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 jinaai/jina-embeddings-v2-small-en --plan --share

Other bert checkpoints

all-MiniLM-L12-v2
33.2M derived · -0.48% against the checkpoint
all-MiniLM-L6-v2
22.6M derived · -0.68% against the checkpoint
bert-base-cased
108M derived · -1.13% against the checkpoint
bert-base-multilingual-uncased
167M derived · -0.78% against the checkpoint