# DR-Tulu2 4B Architecture

> Canonical HTML page: https://sebastianraschka.com/llm-architecture-gallery/models/dr-tulu2-4b/
> Part of: [LLM Architecture Gallery](https://sebastianraschka.com/llm-architecture-gallery/)

Ai2 trained Qwen3.5-4B to search and read sources over multiple turns. The diagram shows its 32-layer language decoder, which uses a dense SwiGLU feed-forward network with an intermediate width of 9,216 in every layer.

## Specifications

| Field | Value |
| --- | --- |
| Organization | Ai2 |
| Release date | 2026-12-01 |
| Scale | 4.54B total (including the vision encoder) |
| Decoder type | Dense hybrid |
| Attention | Gated DeltaNet and gated GQA with 16 query heads and 4 KV heads |
| Layer mix | 24 Gated DeltaNet + 8 full GQA |
| Context window | 262,144 in config |
| Vocabulary size | 248,320 |
| KV cache / token (bf16) | 32 KiB |
| Distinctive highlight | Every fourth layer uses full attention with RoPE on 64 of each head’s 256 dimensions. The three intervening Gated DeltaNet layers keep a fixed-size recurrent state. |
| Architecture diagram | https://sebastianraschka.com/llm-architecture-gallery/images/architectures/dr-tulu2-4b.webp |

## Training and Post-Training

- **Pretraining data size**: Not disclosed
- **Pretraining notes**: DR-Tulu2 inherits its pretraining from Qwen3.5-4B. The pretraining token count for the 4B checkpoint is undisclosed.
  - Source: [Qwen3.5-4B model card](https://huggingface.co/Qwen/Qwen3.5-4B#model-overview)
  - Source: [Ai2 model card, training details](https://huggingface.co/allenai/DR-Tulu2-4B#training-details)
- **Post-training methods**: RL
- **Post-training notes**: Ai2 applied DPPO, a variant of GRPO, directly to Qwen3.5-4B in simulated web, science, and finance search environments. Each rollout used a 128K-token context and allowed up to 150 tool calls.
  - Source: [Ai2 model card, training details](https://huggingface.co/allenai/DR-Tulu2-4B#training-details)
  - Source: [DR Tulu 2 technical report](https://allenai.org/papers/dr-tulu2)

## Related Architecture Concepts


## Primary Sources and Tools

- [Model configuration (allenai/DR-Tulu2-4B)](https://huggingface.co/allenai/DR-Tulu2-4B/blob/main/config.json)
- [Technical report](https://allenai.org/papers/dr-tulu2)
- [Model license](https://www.apache.org/licenses/LICENSE-2.0)
- [Estimate memory for DR-Tulu2 4B](https://sebastianraschka.com/llm-architecture-gallery/memory-calculator/?model=dr-tulu2-4b)
