SWAT-D12: A compact English chat model with a recurrent architecture
2 min readupdated
The model is a chat assistant built on an experimental looped transformer from CrowdMind with 288M parameters. The architecture uses 12 unique blocks with 3 recurrent passes, yielding an effective execution depth of 24 blocks. The model comes bundled with the portable Blueberry Chat application, allowing it to run locally in a browser, terminal, or via Python scripts. It is aimed at developers and researchers interested in miniature language models with an unusual recurrent structure.
Key features
- Compact size: 288M parameters and a 2048-token context window.
- Looped architecture: 3 prelude, 6 recurrent, and 3 code blocks.
- Training: continued pre-training on ClimbMix and Pretrain Nemo, followed by fine-tuning on smol-smoltalk, MMLU, and GSM8K.
- Portability: a built-in local application for running in a browser or through the terminal with CPU and NVIDIA GPU support.
What you can do
- Run an interactive local chat in the browser using the included launch script.
- Send prompts to the model directly from the command line to generate short texts and answer questions.
- Integrate the model into local Python scripts for streaming text generation.
Example
python launch.py --model d12-20261126 --prompt "Explain how a rainbow forms in three sentences."Read more
DetailsParameters: 287,754,722 parameters, hidden width 768 / SwiGLU 2048
Pretrain Nemo validation: 0.3936 bits per byte
SFT validation: 0.3498 bits per byte
HumanEval: 12.20% (20 out of 164)










Comments