N Neurarch Architectures Models Checks Data Docs Open the app

Models /

jina-embeddings-v4

Reconstructed from its own config.json with no weights read. 357K 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
3.09B
3,089,550,848 parameters
In the published checkpoint
3.75B
3,754,885,248 scalars · safetensors.total, read 2026-04-08
Delta
-17.7%

custom-code This repository ships its own modeling code (`auto_map`, e.g. `configuration_jina_embeddings_v4.py`), 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
223
Will it forward-pass
Yes
Priced on
A10G (24GB)
Est. one run
$58713.01
CardMemory
T4 (16GB)weights + activationsdoes not fit
A100 (40GB)weights + activationsdoes not fit
H100 (80GB)weights + activationsfits

Structure

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

LayerTypeOutput shape
1InputInput1 × 128000
2EmbeddingEmbedding1 × 128000 × 2048
3RoPERoPE1 × 128000 × 2048
4Vision inputInput3 × 224 × 224
5PatchEmbedPatch Embed256 × 1280
6Patch_Position_EmbeddingLearned Pos Embed256 × 1280
7Vision encoder (internals not in config)Projection256 × 2048
8Vision tokensReshape1 × 256 × 2048
9Multimodal fusion (concat tokens)Concatenate1 × 128256 × 2048
10RMSNorm_1_1RMSNorm1 × 128256 × 2048
11Attention_1Grouped Query Attn1 × 128256 × 2048
12Add_1_attnAdd1 × 128256 × 2048
13RMSNorm_1_2RMSNorm1 × 128256 × 2048
14FFN_1SwiGLU1 × 128256 × 2048
15Add_1_ffnAdd1 × 128256 × 2048
16RMSNorm_2_1RMSNorm1 × 128256 × 2048
17Attention_2Grouped Query Attn1 × 128256 × 2048
18Add_2_attnAdd1 × 128256 × 2048
19RMSNorm_2_2RMSNorm1 × 128256 × 2048
20FFN_2SwiGLU1 × 128256 × 2048
21Add_2_ffnAdd1 × 128256 × 2048
22RMSNorm_3_1RMSNorm1 × 128256 × 2048
23Attention_3Grouped Query Attn1 × 128256 × 2048
24Add_3_attnAdd1 × 128256 × 2048
25RMSNorm_3_2RMSNorm1 × 128256 × 2048
26FFN_3SwiGLU1 × 128256 × 2048
27Add_3_ffnAdd1 × 128256 × 2048
28RMSNorm_4_1RMSNorm1 × 128256 × 2048
29Attention_4Grouped Query Attn1 × 128256 × 2048
30Add_4_attnAdd1 × 128256 × 2048
31RMSNorm_4_2RMSNorm1 × 128256 × 2048
32FFN_4SwiGLU1 × 128256 × 2048
33Add_4_ffnAdd1 × 128256 × 2048
34RMSNorm_5_1RMSNorm1 × 128256 × 2048
35Attention_5Grouped Query Attn1 × 128256 × 2048
36Add_5_attnAdd1 × 128256 × 2048
37RMSNorm_5_2RMSNorm1 × 128256 × 2048
38FFN_5SwiGLU1 × 128256 × 2048
39Add_5_ffnAdd1 × 128256 × 2048
40RMSNorm_6_1RMSNorm1 × 128256 × 2048
41Attention_6Grouped Query Attn1 × 128256 × 2048
42Add_6_attnAdd1 × 128256 × 2048
43RMSNorm_6_2RMSNorm1 × 128256 × 2048
44FFN_6SwiGLU1 × 128256 × 2048
45Add_6_ffnAdd1 × 128256 × 2048
46RMSNorm_7_1RMSNorm1 × 128256 × 2048
47Attention_7Grouped Query Attn1 × 128256 × 2048
48Add_7_attnAdd1 × 128256 × 2048
49RMSNorm_7_2RMSNorm1 × 128256 × 2048
50FFN_7SwiGLU1 × 128256 × 2048
51Add_7_ffnAdd1 × 128256 × 2048
52RMSNorm_8_1RMSNorm1 × 128256 × 2048
53Attention_8Grouped Query Attn1 × 128256 × 2048
54Add_8_attnAdd1 × 128256 × 2048
55RMSNorm_8_2RMSNorm1 × 128256 × 2048
56FFN_8SwiGLU1 × 128256 × 2048
57Add_8_ffnAdd1 × 128256 × 2048
58RMSNorm_9_1RMSNorm1 × 128256 × 2048
59Attention_9Grouped Query Attn1 × 128256 × 2048
60Add_9_attnAdd1 × 128256 × 2048
61RMSNorm_9_2RMSNorm1 × 128256 × 2048
62FFN_9SwiGLU1 × 128256 × 2048
63Add_9_ffnAdd1 × 128256 × 2048
64RMSNorm_10_1RMSNorm1 × 128256 × 2048
65Attention_10Grouped Query Attn1 × 128256 × 2048
66Add_10_attnAdd1 × 128256 × 2048
67RMSNorm_10_2RMSNorm1 × 128256 × 2048
68FFN_10SwiGLU1 × 128256 × 2048
69Add_10_ffnAdd1 × 128256 × 2048
70RMSNorm_11_1RMSNorm1 × 128256 × 2048
71Attention_11Grouped Query Attn1 × 128256 × 2048
72Add_11_attnAdd1 × 128256 × 2048
73RMSNorm_11_2RMSNorm1 × 128256 × 2048
74FFN_11SwiGLU1 × 128256 × 2048
75Add_11_ffnAdd1 × 128256 × 2048
76RMSNorm_12_1RMSNorm1 × 128256 × 2048
77Attention_12Grouped Query Attn1 × 128256 × 2048
78Add_12_attnAdd1 × 128256 × 2048
79RMSNorm_12_2RMSNorm1 × 128256 × 2048
80FFN_12SwiGLU1 × 128256 × 2048
81Add_12_ffnAdd1 × 128256 × 2048
82RMSNorm_13_1RMSNorm1 × 128256 × 2048
83Attention_13Grouped Query Attn1 × 128256 × 2048
84Add_13_attnAdd1 × 128256 × 2048
85RMSNorm_13_2RMSNorm1 × 128256 × 2048
86FFN_13SwiGLU1 × 128256 × 2048
87Add_13_ffnAdd1 × 128256 × 2048
88RMSNorm_14_1RMSNorm1 × 128256 × 2048
89Attention_14Grouped Query Attn1 × 128256 × 2048
90Add_14_attnAdd1 × 128256 × 2048
91RMSNorm_14_2RMSNorm1 × 128256 × 2048
92FFN_14SwiGLU1 × 128256 × 2048
93Add_14_ffnAdd1 × 128256 × 2048
94RMSNorm_15_1RMSNorm1 × 128256 × 2048
95Attention_15Grouped Query Attn1 × 128256 × 2048
96Add_15_attnAdd1 × 128256 × 2048
97RMSNorm_15_2RMSNorm1 × 128256 × 2048
98FFN_15SwiGLU1 × 128256 × 2048
99Add_15_ffnAdd1 × 128256 × 2048
100RMSNorm_16_1RMSNorm1 × 128256 × 2048
101Attention_16Grouped Query Attn1 × 128256 × 2048
102Add_16_attnAdd1 × 128256 × 2048
103RMSNorm_16_2RMSNorm1 × 128256 × 2048
104FFN_16SwiGLU1 × 128256 × 2048
105Add_16_ffnAdd1 × 128256 × 2048
106RMSNorm_17_1RMSNorm1 × 128256 × 2048
107Attention_17Grouped Query Attn1 × 128256 × 2048
108Add_17_attnAdd1 × 128256 × 2048
109RMSNorm_17_2RMSNorm1 × 128256 × 2048
110FFN_17SwiGLU1 × 128256 × 2048
111Add_17_ffnAdd1 × 128256 × 2048
112RMSNorm_18_1RMSNorm1 × 128256 × 2048
113Attention_18Grouped Query Attn1 × 128256 × 2048
114Add_18_attnAdd1 × 128256 × 2048
115RMSNorm_18_2RMSNorm1 × 128256 × 2048
116FFN_18SwiGLU1 × 128256 × 2048
117Add_18_ffnAdd1 × 128256 × 2048
118RMSNorm_19_1RMSNorm1 × 128256 × 2048
119Attention_19Grouped Query Attn1 × 128256 × 2048
120Add_19_attnAdd1 × 128256 × 2048
121RMSNorm_19_2RMSNorm1 × 128256 × 2048
122FFN_19SwiGLU1 × 128256 × 2048
123Add_19_ffnAdd1 × 128256 × 2048
124RMSNorm_20_1RMSNorm1 × 128256 × 2048
125Attention_20Grouped Query Attn1 × 128256 × 2048
126Add_20_attnAdd1 × 128256 × 2048
127RMSNorm_20_2RMSNorm1 × 128256 × 2048
128FFN_20SwiGLU1 × 128256 × 2048
129Add_20_ffnAdd1 × 128256 × 2048
130RMSNorm_21_1RMSNorm1 × 128256 × 2048
131Attention_21Grouped Query Attn1 × 128256 × 2048
132Add_21_attnAdd1 × 128256 × 2048
133RMSNorm_21_2RMSNorm1 × 128256 × 2048
134FFN_21SwiGLU1 × 128256 × 2048
135Add_21_ffnAdd1 × 128256 × 2048
136RMSNorm_22_1RMSNorm1 × 128256 × 2048
137Attention_22Grouped Query Attn1 × 128256 × 2048
138Add_22_attnAdd1 × 128256 × 2048
139RMSNorm_22_2RMSNorm1 × 128256 × 2048
140FFN_22SwiGLU1 × 128256 × 2048
141Add_22_ffnAdd1 × 128256 × 2048
142RMSNorm_23_1RMSNorm1 × 128256 × 2048
143Attention_23Grouped Query Attn1 × 128256 × 2048
144Add_23_attnAdd1 × 128256 × 2048
145RMSNorm_23_2RMSNorm1 × 128256 × 2048
146FFN_23SwiGLU1 × 128256 × 2048
147Add_23_ffnAdd1 × 128256 × 2048
148RMSNorm_24_1RMSNorm1 × 128256 × 2048
149Attention_24Grouped Query Attn1 × 128256 × 2048
150Add_24_attnAdd1 × 128256 × 2048
151RMSNorm_24_2RMSNorm1 × 128256 × 2048
152FFN_24SwiGLU1 × 128256 × 2048
153Add_24_ffnAdd1 × 128256 × 2048
154RMSNorm_25_1RMSNorm1 × 128256 × 2048
155Attention_25Grouped Query Attn1 × 128256 × 2048
156Add_25_attnAdd1 × 128256 × 2048
157RMSNorm_25_2RMSNorm1 × 128256 × 2048
158FFN_25SwiGLU1 × 128256 × 2048
159Add_25_ffnAdd1 × 128256 × 2048
160RMSNorm_26_1RMSNorm1 × 128256 × 2048
161Attention_26Grouped Query Attn1 × 128256 × 2048
162Add_26_attnAdd1 × 128256 × 2048
163RMSNorm_26_2RMSNorm1 × 128256 × 2048
164FFN_26SwiGLU1 × 128256 × 2048
165Add_26_ffnAdd1 × 128256 × 2048
166RMSNorm_27_1RMSNorm1 × 128256 × 2048
167Attention_27Grouped Query Attn1 × 128256 × 2048
168Add_27_attnAdd1 × 128256 × 2048
169RMSNorm_27_2RMSNorm1 × 128256 × 2048
170FFN_27SwiGLU1 × 128256 × 2048
171Add_27_ffnAdd1 × 128256 × 2048
172RMSNorm_28_1RMSNorm1 × 128256 × 2048
173Attention_28Grouped Query Attn1 × 128256 × 2048
174Add_28_attnAdd1 × 128256 × 2048
175RMSNorm_28_2RMSNorm1 × 128256 × 2048
176FFN_28SwiGLU1 × 128256 × 2048
177Add_28_ffnAdd1 × 128256 × 2048
178RMSNorm_29_1RMSNorm1 × 128256 × 2048
179Attention_29Grouped Query Attn1 × 128256 × 2048
180Add_29_attnAdd1 × 128256 × 2048
181RMSNorm_29_2RMSNorm1 × 128256 × 2048
182FFN_29SwiGLU1 × 128256 × 2048
183Add_29_ffnAdd1 × 128256 × 2048
184RMSNorm_30_1RMSNorm1 × 128256 × 2048
185Attention_30Grouped Query Attn1 × 128256 × 2048
186Add_30_attnAdd1 × 128256 × 2048
187RMSNorm_30_2RMSNorm1 × 128256 × 2048
188FFN_30SwiGLU1 × 128256 × 2048
189Add_30_ffnAdd1 × 128256 × 2048
190RMSNorm_31_1RMSNorm1 × 128256 × 2048
191Attention_31Grouped Query Attn1 × 128256 × 2048
192Add_31_attnAdd1 × 128256 × 2048
193RMSNorm_31_2RMSNorm1 × 128256 × 2048
194FFN_31SwiGLU1 × 128256 × 2048
195Add_31_ffnAdd1 × 128256 × 2048
196RMSNorm_32_1RMSNorm1 × 128256 × 2048
197Attention_32Grouped Query Attn1 × 128256 × 2048
198Add_32_attnAdd1 × 128256 × 2048
199RMSNorm_32_2RMSNorm1 × 128256 × 2048
200FFN_32SwiGLU1 × 128256 × 2048
201Add_32_ffnAdd1 × 128256 × 2048
202RMSNorm_33_1RMSNorm1 × 128256 × 2048
203Attention_33Grouped Query Attn1 × 128256 × 2048
204Add_33_attnAdd1 × 128256 × 2048
205RMSNorm_33_2RMSNorm1 × 128256 × 2048
206FFN_33SwiGLU1 × 128256 × 2048
207Add_33_ffnAdd1 × 128256 × 2048
208RMSNorm_34_1RMSNorm1 × 128256 × 2048
209Attention_34Grouped Query Attn1 × 128256 × 2048
210Add_34_attnAdd1 × 128256 × 2048
211RMSNorm_34_2RMSNorm1 × 128256 × 2048
212FFN_34SwiGLU1 × 128256 × 2048
213Add_34_ffnAdd1 × 128256 × 2048
214RMSNorm_35_1RMSNorm1 × 128256 × 2048
215Attention_35Grouped Query Attn1 × 128256 × 2048
216Add_35_attnAdd1 × 128256 × 2048
217RMSNorm_35_2RMSNorm1 × 128256 × 2048
218FFN_35SwiGLU1 × 128256 × 2048
219Add_35_ffnAdd1 × 128256 × 2048
220RMSNorm_36_1RMSNorm1 × 128256 × 2048
221Attention_36Grouped Query Attn1 × 128256 × 2048
222Add_36_attnAdd1 × 128256 × 2048
223RMSNorm_36_2RMSNorm1 × 128256 × 2048
224FFN_36SwiGLU1 × 128256 × 2048
225Add_36_ffnAdd1 × 128256 × 2048
226OutputOutput1 × 128256 × 2048

What the verifier says

warn"RoPE" receives input but its output is not connected. This layer will be unreachable in the forward pass. Fix: Connect the output forward, or add an Output node if this is the final layer.
dead-end
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 11008 (5.38× embedDim). Expected: ~5376. Fix: Set intermediateSize to 5376 for embedDim=2048.
swiglu-dim-convention
infoAt 36 stacked attention layers, residual-branch outputs add up; unscaled init lets activation variance grow with depth. GPT-2/LLaMA-family models scale the residual projections by depth (N(0, 0.02 / √(2L))). Fix: Scale residual output projections by depth: nn.init.normal_(w, std=0.02 / math.sqrt(2 * n_layers))
deep-attention-default-init

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-v4 --plan --share

Other checkpoints

jina-reranker-v2-base-multilingual
278M derived · -0.22% against the checkpoint