The Dragon Hatchling: The Missing Link between the Transformer and Models of the Brain
Paper β’ 2509.26507 β’ Published β’ 551
A 25M parameter biologically-inspired language model trained on the Tiny Shakespeare dataset. Generates Shakespearean-style English text using byte-level tokenization.
BDH (Baby Dragon Hatchling) is a compact, biologically-inspired transformer:
| Component | Value |
|---|---|
| Parameters | 25M |
| Layers | 6 (shared weights) |
| Embedding dim | 256 |
| Attention heads | 4 |
| Context length | 128 |
| Vocab size | 256 (byte-level) |
Key features:
import torch
model_data = torch.hub.load_state_dict_from_url(
"https://huggingface.co/akarki15/bdh-shakespeare/resolve/main/bdh_shakespeare.pt",
map_location="cpu"
)
# Load with BDH model class β see GitHub repo for full inference code
Based on The Dragon Hatchling architecture by Pathway.