N Neurarch Architectures Models Checks Data Docs Open the app

Models / dots_ocr

dots.mocr

Reconstructed from its own config.json with no weights read. 599K 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
2.72B
2,722,830,976 parameters
In the published checkpoint
3.04B
3,039,179,264 scalars · safetensors.total, read 2026-07-04
Delta
-10.4%

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

Structure

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

LayerTypeOutput shape
1InputInput1 × 131072
2EmbeddingEmbedding1 × 131072 × 1536
3RoPERoPE1 × 131072 × 1536
4Vision inputInput3 × 224 × 224
5PatchEmbedPatch Embed256 × 1536
6Patch_Position_EmbeddingLearned Pos Embed256 × 1536
7Vision_LN_1LayerNorm256 × 1536
8Vision_Attn_1Multi-Head Attention256 × 1536
9Vision_Add_1Add256 × 1536
10Vision_FFN_1Feed Forward256 × 1536
11Vision_LN_2LayerNorm256 × 1536
12Vision_Attn_2Multi-Head Attention256 × 1536
13Vision_Add_2Add256 × 1536
14Vision_FFN_2Feed Forward256 × 1536
15Vision_LN_3LayerNorm256 × 1536
16Vision_Attn_3Multi-Head Attention256 × 1536
17Vision_Add_3Add256 × 1536
18Vision_FFN_3Feed Forward256 × 1536
19Vision_LN_4LayerNorm256 × 1536
20Vision_Attn_4Multi-Head Attention256 × 1536
21Vision_Add_4Add256 × 1536
22Vision_FFN_4Feed Forward256 × 1536
23Vision_LN_5LayerNorm256 × 1536
24Vision_Attn_5Multi-Head Attention256 × 1536
25Vision_Add_5Add256 × 1536
26Vision_FFN_5Feed Forward256 × 1536
27Vision_LN_6LayerNorm256 × 1536
28Vision_Attn_6Multi-Head Attention256 × 1536
29Vision_Add_6Add256 × 1536
30Vision_FFN_6Feed Forward256 × 1536
31Vision_LN_7LayerNorm256 × 1536
32Vision_Attn_7Multi-Head Attention256 × 1536
33Vision_Add_7Add256 × 1536
34Vision_FFN_7Feed Forward256 × 1536
35Vision_LN_8LayerNorm256 × 1536
36Vision_Attn_8Multi-Head Attention256 × 1536
37Vision_Add_8Add256 × 1536
38Vision_FFN_8Feed Forward256 × 1536
39Vision_LN_9LayerNorm256 × 1536
40Vision_Attn_9Multi-Head Attention256 × 1536
41Vision_Add_9Add256 × 1536
42Vision_FFN_9Feed Forward256 × 1536
43Vision_LN_10LayerNorm256 × 1536
44Vision_Attn_10Multi-Head Attention256 × 1536
45Vision_Add_10Add256 × 1536
46Vision_FFN_10Feed Forward256 × 1536
47Vision_LN_11LayerNorm256 × 1536
48Vision_Attn_11Multi-Head Attention256 × 1536
49Vision_Add_11Add256 × 1536
50Vision_FFN_11Feed Forward256 × 1536
51Vision_LN_12LayerNorm256 × 1536
52Vision_Attn_12Multi-Head Attention256 × 1536
53Vision_Add_12Add256 × 1536
54Vision_FFN_12Feed Forward256 × 1536
55Vision_LN_13LayerNorm256 × 1536
56Vision_Attn_13Multi-Head Attention256 × 1536
57Vision_Add_13Add256 × 1536
58Vision_FFN_13Feed Forward256 × 1536
59Vision_LN_14LayerNorm256 × 1536
60Vision_Attn_14Multi-Head Attention256 × 1536
61Vision_Add_14Add256 × 1536
62Vision_FFN_14Feed Forward256 × 1536
63Vision_LN_15LayerNorm256 × 1536
64Vision_Attn_15Multi-Head Attention256 × 1536
65Vision_Add_15Add256 × 1536
66Vision_FFN_15Feed Forward256 × 1536
67Vision_LN_16LayerNorm256 × 1536
68Vision_Attn_16Multi-Head Attention256 × 1536
69Vision_Add_16Add256 × 1536
70Vision_FFN_16Feed Forward256 × 1536
71Vision_LN_17LayerNorm256 × 1536
72Vision_Attn_17Multi-Head Attention256 × 1536
73Vision_Add_17Add256 × 1536
74Vision_FFN_17Feed Forward256 × 1536
75Vision_LN_18LayerNorm256 × 1536
76Vision_Attn_18Multi-Head Attention256 × 1536
77Vision_Add_18Add256 × 1536
78Vision_FFN_18Feed Forward256 × 1536
79Vision_LN_19LayerNorm256 × 1536
80Vision_Attn_19Multi-Head Attention256 × 1536
81Vision_Add_19Add256 × 1536
82Vision_FFN_19Feed Forward256 × 1536
83Vision_LN_20LayerNorm256 × 1536
84Vision_Attn_20Multi-Head Attention256 × 1536
85Vision_Add_20Add256 × 1536
86Vision_FFN_20Feed Forward256 × 1536
87Vision_LN_21LayerNorm256 × 1536
88Vision_Attn_21Multi-Head Attention256 × 1536
89Vision_Add_21Add256 × 1536
90Vision_FFN_21Feed Forward256 × 1536
91Vision_LN_22LayerNorm256 × 1536
92Vision_Attn_22Multi-Head Attention256 × 1536
93Vision_Add_22Add256 × 1536
94Vision_FFN_22Feed Forward256 × 1536
95Vision_LN_23LayerNorm256 × 1536
96Vision_Attn_23Multi-Head Attention256 × 1536
97Vision_Add_23Add256 × 1536
98Vision_FFN_23Feed Forward256 × 1536
99Vision_LN_24LayerNorm256 × 1536
100Vision_Attn_24Multi-Head Attention256 × 1536
101Vision_Add_24Add256 × 1536
102Vision_FFN_24Feed Forward256 × 1536
103Vision_LN_25LayerNorm256 × 1536
104Vision_Attn_25Multi-Head Attention256 × 1536
105Vision_Add_25Add256 × 1536
106Vision_FFN_25Feed Forward256 × 1536
107Vision_LN_26LayerNorm256 × 1536
108Vision_Attn_26Multi-Head Attention256 × 1536
109Vision_Add_26Add256 × 1536
110Vision_FFN_26Feed Forward256 × 1536
111Vision_LN_27LayerNorm256 × 1536
112Vision_Attn_27Multi-Head Attention256 × 1536
113Vision_Add_27Add256 × 1536
114Vision_FFN_27Feed Forward256 × 1536
115Vision_LN_28LayerNorm256 × 1536
116Vision_Attn_28Multi-Head Attention256 × 1536
117Vision_Add_28Add256 × 1536
118Vision_FFN_28Feed Forward256 × 1536
119Vision_LN_29LayerNorm256 × 1536
120Vision_Attn_29Multi-Head Attention256 × 1536
121Vision_Add_29Add256 × 1536
122Vision_FFN_29Feed Forward256 × 1536
123Vision_LN_30LayerNorm256 × 1536
124Vision_Attn_30Multi-Head Attention256 × 1536
125Vision_Add_30Add256 × 1536
126Vision_FFN_30Feed Forward256 × 1536
127Vision_LN_31LayerNorm256 × 1536
128Vision_Attn_31Multi-Head Attention256 × 1536
129Vision_Add_31Add256 × 1536
130Vision_FFN_31Feed Forward256 × 1536
131Vision_LN_32LayerNorm256 × 1536
132Vision_Attn_32Multi-Head Attention256 × 1536
133Vision_Add_32Add256 × 1536
134Vision_FFN_32Feed Forward256 × 1536
135Vision_LN_33LayerNorm256 × 1536
136Vision_Attn_33Multi-Head Attention256 × 1536
137Vision_Add_33Add256 × 1536
138Vision_FFN_33Feed Forward256 × 1536
139Vision_LN_34LayerNorm256 × 1536
140Vision_Attn_34Multi-Head Attention256 × 1536
141Vision_Add_34Add256 × 1536
142Vision_FFN_34Feed Forward256 × 1536
143Vision_LN_35LayerNorm256 × 1536
144Vision_Attn_35Multi-Head Attention256 × 1536
145Vision_Add_35Add256 × 1536
146Vision_FFN_35Feed Forward256 × 1536
147Vision_LN_36LayerNorm256 × 1536
148Vision_Attn_36Multi-Head Attention256 × 1536
149Vision_Add_36Add256 × 1536
150Vision_FFN_36Feed Forward256 × 1536
151Vision_LN_37LayerNorm256 × 1536
152Vision_Attn_37Multi-Head Attention256 × 1536
153Vision_Add_37Add256 × 1536
154Vision_FFN_37Feed Forward256 × 1536
155Vision_LN_38LayerNorm256 × 1536
156Vision_Attn_38Multi-Head Attention256 × 1536
157Vision_Add_38Add256 × 1536
158Vision_FFN_38Feed Forward256 × 1536
159Vision_LN_39LayerNorm256 × 1536
160Vision_Attn_39Multi-Head Attention256 × 1536
161Vision_Add_39Add256 × 1536
162Vision_FFN_39Feed Forward256 × 1536
163Vision_LN_40LayerNorm256 × 1536
164Vision_Attn_40Multi-Head Attention256 × 1536
165Vision_Add_40Add256 × 1536
166Vision_FFN_40Feed Forward256 × 1536
167Vision_LN_41LayerNorm256 × 1536
168Vision_Attn_41Multi-Head Attention256 × 1536
169Vision_Add_41Add256 × 1536
170Vision_FFN_41Feed Forward256 × 1536
171Vision_LN_42LayerNorm256 × 1536
172Vision_Attn_42Multi-Head Attention256 × 1536
173Vision_Add_42Add256 × 1536
174Vision_FFN_42Feed Forward256 × 1536
175Vision projectorProjection256 × 1536
176Vision tokensReshape1 × 256 × 1536
177Multimodal fusion (concat tokens)Concatenate1 × 131328 × 1536
178RMSNorm_1_1RMSNorm1 × 131328 × 1536
179Attention_1Grouped Query Attn1 × 131328 × 1536
180Add_1_attnAdd1 × 131328 × 1536
181RMSNorm_1_2RMSNorm1 × 131328 × 1536
182FFN_1SwiGLU1 × 131328 × 1536
183Add_1_ffnAdd1 × 131328 × 1536
184RMSNorm_2_1RMSNorm1 × 131328 × 1536
185Attention_2Grouped Query Attn1 × 131328 × 1536
186Add_2_attnAdd1 × 131328 × 1536
187RMSNorm_2_2RMSNorm1 × 131328 × 1536
188FFN_2SwiGLU1 × 131328 × 1536
189Add_2_ffnAdd1 × 131328 × 1536
190RMSNorm_3_1RMSNorm1 × 131328 × 1536
191Attention_3Grouped Query Attn1 × 131328 × 1536
192Add_3_attnAdd1 × 131328 × 1536
193RMSNorm_3_2RMSNorm1 × 131328 × 1536
194FFN_3SwiGLU1 × 131328 × 1536
195Add_3_ffnAdd1 × 131328 × 1536
196RMSNorm_4_1RMSNorm1 × 131328 × 1536
197Attention_4Grouped Query Attn1 × 131328 × 1536
198Add_4_attnAdd1 × 131328 × 1536
199RMSNorm_4_2RMSNorm1 × 131328 × 1536
200FFN_4SwiGLU1 × 131328 × 1536
201Add_4_ffnAdd1 × 131328 × 1536
202RMSNorm_5_1RMSNorm1 × 131328 × 1536
203Attention_5Grouped Query Attn1 × 131328 × 1536
204Add_5_attnAdd1 × 131328 × 1536
205RMSNorm_5_2RMSNorm1 × 131328 × 1536
206FFN_5SwiGLU1 × 131328 × 1536
207Add_5_ffnAdd1 × 131328 × 1536
208RMSNorm_6_1RMSNorm1 × 131328 × 1536
209Attention_6Grouped Query Attn1 × 131328 × 1536
210Add_6_attnAdd1 × 131328 × 1536
211RMSNorm_6_2RMSNorm1 × 131328 × 1536
212FFN_6SwiGLU1 × 131328 × 1536
213Add_6_ffnAdd1 × 131328 × 1536
214RMSNorm_7_1RMSNorm1 × 131328 × 1536
215Attention_7Grouped Query Attn1 × 131328 × 1536
216Add_7_attnAdd1 × 131328 × 1536
217RMSNorm_7_2RMSNorm1 × 131328 × 1536
218FFN_7SwiGLU1 × 131328 × 1536
219Add_7_ffnAdd1 × 131328 × 1536
220RMSNorm_8_1RMSNorm1 × 131328 × 1536
221Attention_8Grouped Query Attn1 × 131328 × 1536
222Add_8_attnAdd1 × 131328 × 1536
223RMSNorm_8_2RMSNorm1 × 131328 × 1536
224FFN_8SwiGLU1 × 131328 × 1536
225Add_8_ffnAdd1 × 131328 × 1536
226RMSNorm_9_1RMSNorm1 × 131328 × 1536
227Attention_9Grouped Query Attn1 × 131328 × 1536
228Add_9_attnAdd1 × 131328 × 1536
229RMSNorm_9_2RMSNorm1 × 131328 × 1536
230FFN_9SwiGLU1 × 131328 × 1536
231Add_9_ffnAdd1 × 131328 × 1536
232RMSNorm_10_1RMSNorm1 × 131328 × 1536
233Attention_10Grouped Query Attn1 × 131328 × 1536
234Add_10_attnAdd1 × 131328 × 1536
235RMSNorm_10_2RMSNorm1 × 131328 × 1536
236FFN_10SwiGLU1 × 131328 × 1536
237Add_10_ffnAdd1 × 131328 × 1536
238RMSNorm_11_1RMSNorm1 × 131328 × 1536
239Attention_11Grouped Query Attn1 × 131328 × 1536
240Add_11_attnAdd1 × 131328 × 1536
241RMSNorm_11_2RMSNorm1 × 131328 × 1536
242FFN_11SwiGLU1 × 131328 × 1536
243Add_11_ffnAdd1 × 131328 × 1536
244RMSNorm_12_1RMSNorm1 × 131328 × 1536
245Attention_12Grouped Query Attn1 × 131328 × 1536
246Add_12_attnAdd1 × 131328 × 1536
247RMSNorm_12_2RMSNorm1 × 131328 × 1536
248FFN_12SwiGLU1 × 131328 × 1536
249Add_12_ffnAdd1 × 131328 × 1536
250RMSNorm_13_1RMSNorm1 × 131328 × 1536
251Attention_13Grouped Query Attn1 × 131328 × 1536
252Add_13_attnAdd1 × 131328 × 1536
253RMSNorm_13_2RMSNorm1 × 131328 × 1536
254FFN_13SwiGLU1 × 131328 × 1536
255Add_13_ffnAdd1 × 131328 × 1536
256RMSNorm_14_1RMSNorm1 × 131328 × 1536
257Attention_14Grouped Query Attn1 × 131328 × 1536
258Add_14_attnAdd1 × 131328 × 1536
259RMSNorm_14_2RMSNorm1 × 131328 × 1536
260FFN_14SwiGLU1 × 131328 × 1536
261Add_14_ffnAdd1 × 131328 × 1536
262RMSNorm_15_1RMSNorm1 × 131328 × 1536
263Attention_15Grouped Query Attn1 × 131328 × 1536
264Add_15_attnAdd1 × 131328 × 1536
265RMSNorm_15_2RMSNorm1 × 131328 × 1536
266FFN_15SwiGLU1 × 131328 × 1536
267Add_15_ffnAdd1 × 131328 × 1536
268RMSNorm_16_1RMSNorm1 × 131328 × 1536
269Attention_16Grouped Query Attn1 × 131328 × 1536
270Add_16_attnAdd1 × 131328 × 1536
271RMSNorm_16_2RMSNorm1 × 131328 × 1536
272FFN_16SwiGLU1 × 131328 × 1536
273Add_16_ffnAdd1 × 131328 × 1536
274RMSNorm_17_1RMSNorm1 × 131328 × 1536
275Attention_17Grouped Query Attn1 × 131328 × 1536
276Add_17_attnAdd1 × 131328 × 1536
277RMSNorm_17_2RMSNorm1 × 131328 × 1536
278FFN_17SwiGLU1 × 131328 × 1536
279Add_17_ffnAdd1 × 131328 × 1536
280RMSNorm_18_1RMSNorm1 × 131328 × 1536
281Attention_18Grouped Query Attn1 × 131328 × 1536
282Add_18_attnAdd1 × 131328 × 1536
283RMSNorm_18_2RMSNorm1 × 131328 × 1536
284FFN_18SwiGLU1 × 131328 × 1536
285Add_18_ffnAdd1 × 131328 × 1536
286RMSNorm_19_1RMSNorm1 × 131328 × 1536
287Attention_19Grouped Query Attn1 × 131328 × 1536
288Add_19_attnAdd1 × 131328 × 1536
289RMSNorm_19_2RMSNorm1 × 131328 × 1536
290FFN_19SwiGLU1 × 131328 × 1536
291Add_19_ffnAdd1 × 131328 × 1536
292RMSNorm_20_1RMSNorm1 × 131328 × 1536
293Attention_20Grouped Query Attn1 × 131328 × 1536
294Add_20_attnAdd1 × 131328 × 1536
295RMSNorm_20_2RMSNorm1 × 131328 × 1536
296FFN_20SwiGLU1 × 131328 × 1536
297Add_20_ffnAdd1 × 131328 × 1536
298RMSNorm_21_1RMSNorm1 × 131328 × 1536
299Attention_21Grouped Query Attn1 × 131328 × 1536
300Add_21_attnAdd1 × 131328 × 1536
301RMSNorm_21_2RMSNorm1 × 131328 × 1536
302FFN_21SwiGLU1 × 131328 × 1536
303Add_21_ffnAdd1 × 131328 × 1536
304RMSNorm_22_1RMSNorm1 × 131328 × 1536
305Attention_22Grouped Query Attn1 × 131328 × 1536
306Add_22_attnAdd1 × 131328 × 1536
307RMSNorm_22_2RMSNorm1 × 131328 × 1536
308FFN_22SwiGLU1 × 131328 × 1536
309Add_22_ffnAdd1 × 131328 × 1536
310RMSNorm_23_1RMSNorm1 × 131328 × 1536
311Attention_23Grouped Query Attn1 × 131328 × 1536
312Add_23_attnAdd1 × 131328 × 1536
313RMSNorm_23_2RMSNorm1 × 131328 × 1536
314FFN_23SwiGLU1 × 131328 × 1536
315Add_23_ffnAdd1 × 131328 × 1536
316RMSNorm_24_1RMSNorm1 × 131328 × 1536
317Attention_24Grouped Query Attn1 × 131328 × 1536
318Add_24_attnAdd1 × 131328 × 1536
319RMSNorm_24_2RMSNorm1 × 131328 × 1536
320FFN_24SwiGLU1 × 131328 × 1536
321Add_24_ffnAdd1 × 131328 × 1536
322RMSNorm_25_1RMSNorm1 × 131328 × 1536
323Attention_25Grouped Query Attn1 × 131328 × 1536
324Add_25_attnAdd1 × 131328 × 1536
325RMSNorm_25_2RMSNorm1 × 131328 × 1536
326FFN_25SwiGLU1 × 131328 × 1536
327Add_25_ffnAdd1 × 131328 × 1536
328RMSNorm_26_1RMSNorm1 × 131328 × 1536
329Attention_26Grouped Query Attn1 × 131328 × 1536
330Add_26_attnAdd1 × 131328 × 1536
331RMSNorm_26_2RMSNorm1 × 131328 × 1536
332FFN_26SwiGLU1 × 131328 × 1536
333Add_26_ffnAdd1 × 131328 × 1536
334RMSNorm_27_1RMSNorm1 × 131328 × 1536
335Attention_27Grouped Query Attn1 × 131328 × 1536
336Add_27_attnAdd1 × 131328 × 1536
337RMSNorm_27_2RMSNorm1 × 131328 × 1536
338FFN_27SwiGLU1 × 131328 × 1536
339Add_27_ffnAdd1 × 131328 × 1536
340RMSNorm_28_1RMSNorm1 × 131328 × 1536
341Attention_28Grouped Query Attn1 × 131328 × 1536
342Add_28_attnAdd1 × 131328 × 1536
343RMSNorm_28_2RMSNorm1 × 131328 × 1536
344FFN_28SwiGLU1 × 131328 × 1536
345Add_28_ffnAdd1 × 131328 × 1536
346Final_RMSNormRMSNorm1 × 131328 × 1536
347LM_HeadLinear1 × 131328 × 151936
348OutputOutput1 × 131328 × 151936

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: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoLLaMA uses intermediateSize ≈ ⌊(8/3 × D) / 256⌋ × 256. Current: 8960 (5.83× embedDim). Expected: ~4096. Fix: Set intermediateSize to 4096 for embedDim=1536.
swiglu-dim-convention
infoAt 70 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 dots-studio/dots.mocr --plan --share

Other dots_ocr checkpoints

dots.ocr
2.72B derived · -10.4% against the checkpoint