Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

NVIDIA · Architecture map

Nemotron 3.5 Parse

A specialised document parser with a C-RADIOv4 vision encoder and ten-layer causal text decoder.

Nemotron 3.5 Parse · Nemotron release timeline

Inside Nemotron 3.5 Parse

Parameters
631M
Layers
10
Width
1,024
Mixer
Grouped-query
Packing a visual prefix before textIllustrative one-row patch grid; each horizontal group of 4 patches becomes one feature after the encoder and convolutional neck. A projected summary follows the features. Text embeddings are concatenated after the visual prefix and the same causal decoder processes both.Document patches · 16 × 16 pixelsVision encoder1152 feature width · 2D positionsHorizontal mergeProject + stride 41024 decoder widthSummary projection2304 → 1024Visual prefixText embeddingsOne causal stream · visual then textKV cache includes both; output logits only for text.
What to notice: the decoder receives projected page features and summary before the text, not through cross-attention. Patch counts are illustrative; each horizontal group merges 4 features.
Select a component to explore it.
The complete Nemotron 3.5 Parse architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text. Ten decoder layers cache the visual prefix and text together; padded page positions are masked. The 16384 context limit includes both. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup72,5121,024Text vectors before prefixCL1,02427-layer ViT, 16 heads, 16×16 patches, learned content-normalised 2D positions. Horizontal stride-four convolution plus projected summary token.C-RADIOv4 SO400MencoderInput LayerNormNormalise the input embeddings before the stack.Prefix decoderPrefix decoder · 10 repetitions10 layers · one layer shown10LayerNorm before this operation.LayerNormGrouped-query attention: 4096 intermediate width; causal visual prefix.Grouped-queryattentionNo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPEAdd the branch output to the original stream. +LayerNorm before this operation.LayerNormGELU: 4096 intermediate width; causal visual prefix.GELUAdd the branch output to the original stream. +Residual streamLast columnCL1,024Final LayerNormReuses the embedding table, transposed.Tied output weights1,02472,512Vocabulary scoresSoftmax72,512Next-token probabilities
Inside grouped-query attention · Prefix decoder
2 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Nemotron 3.5 Parse: Prefix decoder · grouped-query attention16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text. Ten decoder layers cache the visual prefix and text together; padded page positions are masked. The 16384 context limit includes both.8 KV groups; the front face shows one representative.8 KV groups2 heads / group; the front face shows one representative.2 heads / groupAttention input. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input1,024CLWq. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Wq + b1,02464Wk. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Wk + b1,02464Wv. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Wv + b1,02464K cache. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache64CLV cache. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache64CLQ context. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Earlier context is dimmed; outlined columns are current.Current token computation.Q context64CLScaled query–key scores, masking and softmax. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.NoPECLCL×. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.×Joined heads. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.16Wo. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Wo1,0241,024Attention output. 16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output1,024CL
Model-specific details
Prefix decoder · 10 repetitions
4096 intermediate width; causal visual prefix.
Attention and positions
16 query heads, eight KV heads, width 64. Pre-LayerNorm decoder without additional text positional embeddings in the native implementation. Visual features are concatenated before text.
Memory
Ten decoder layers cache the visual prefix and text together; padded page positions are masked. The 16384 context limit includes both.

What to notice

Explore the components

Sources for this map