Downloads · 30 days
233
31% of all-time downloads
alea-institute/kl3m-007-500m-step0
kl3m-007-500m-step0 is a text generation model from alea-institute. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 500M parameter language model created via 4x cyclic layer duplication (Gstack method, NeurIPS 2024) from the KL3M 170M Phase 2+A checkpoint. This is the initialization checkpoint before continued training.
Downloads · 30 days
233
31% of all-time downloads
All-time downloads
741
Public
Parameters
500M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2 GB · 99%
From the Hugging Face model README
A 500M parameter language model created via 4x cyclic layer duplication (G_stack method, NeurIPS 2024) from the KL3M 170M Phase 2+A checkpoint. This is the initialization checkpoint before continued training.
alea-institute/kl3m-006-170m-checkpoint-63000Based on "Stacking Your Transformers" (NeurIPS 2024, arXiv:2405.15319):
Stacking Pattern:
Source (30 layers): [0, 1, 2, ..., 28, 29]
Target (120 layers): [0-29, 0-29, 0-29, 0-29]
└─ Cyclic repetition 4 times
Preserved Components:
Duplicated Components:
Per G_stack paper findings:
All 120 layers start with identical conditioning (4 copies of source checkpoint):
Attention layers (480 total = 4 × 120):
MLP layers (360 total):
Expected behavior:
During training, these 4 copies will diverge and specialize, creating a true 120-layer deep network.
Depth-scaled learning rates:
Layer-selective spectral clamping (adjusted for depth):
Batch configuration:
Expected trajectory:
{
"stacking_method": "cyclic_duplication",
"paper": "Stacking Your Transformers (NeurIPS 2024, arXiv:2405.15319)",
"source_checkpoint": "checkpoints/muon_170m_phase2/step-00063000",
"growth_factor": 4,
"source_layers": 30,
"target_layers": 120,
"stacking_pattern": "cyclic"
}
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load the 500M stacked initialization
model = AutoModelForCausalLM.from_pretrained(
"alea-institute/kl3m-007-500m-step0",
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("alea-institute/kl3m-007-500m-step0")
# Generate (will produce low-quality output until trained)
inputs = tokenizer("This Agreement is entered into", return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0]))
Note: This is an untrained initialization. For production use, see the trained checkpoints at alea-institute/kl3m-007-500m-checkpoint-*.
| Model | Layers | Params | Training Status | Use Case |
|---|---|---|---|---|
| kl3m-006-170m-checkpoint-63000 | 30 | 181.7M | Trained (63K steps) | Production 170M |
| kl3m-007-500m-step0 | 120 | 500.3M | Step 0 (init only) | Research/base |
| kl3m-007-500m-checkpoint-* | 120 | 500.3M | In training | Production 500M (future) |
G_stack enables efficient depth scaling:
This approach leverages transfer learning in the depth dimension rather than traditional width scaling or fine-tuning.
This initialization checkpoint will be trained with:
Follow training progress in the kl3m-007-500m-checkpoint-* series.
Alea Institute
For G_stack technical details:
@inproceedings{gstack2024,
title={Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training},
author={Du, Wenyu and Luo, Tongxu and Qiu, Zihan and Huang, Zeyu and Shen, Yikang and Cheng, Reynold and Guo, Yike and Fu, Jie},
booktitle={NeurIPS},
year={2024},
note={arXiv:2405.15319}
}
@misc{kl3m2025,
title={KL3M: Knowledge-Guided Language Model Training with G_stack Depth Expansion},
author={Alea Institute},
year={2025},
url={https://arxiv.org/abs/2504.07854},
note={500M model via 4x cyclic duplication from 170M Phase 2+A}
}
Apache 2.0