KL3M 500M, 7th Gen Model, Step 37000 (4x Stacked Architecture)
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 checkpoint represents 37,000 training steps on the 120-layer architecture.
Model Details
Architecture: Llama-based with Grouped Query Attention (GQA)
1from transformers import pipeline
23# Load the text generation pipeline4generator = pipeline(5"text-generation",6 model="alea-institute/kl3m-007-500m-step37000",7 device_map="auto"8)910# Generate text11output = generator(12"The United States Constitution establishes",13 max_new_tokens=100,14 do_sample=True,15 temperature=0.8,16 top_p=0.9517)18print(output[0]['generated_text'])
Alternative: Using model and tokenizer directly
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
23model = AutoModelForCausalLM.from_pretrained(4"alea-institute/kl3m-007-500m-step37000",5 torch_dtype="auto",6 device_map="auto"7)8tokenizer = AutoTokenizer.from_pretrained("alea-institute/kl3m-007-500m-step37000")910inputs = tokenizer("The United States Constitution establishes", return_tensors="pt", return_token_type_ids=False)11inputs ={k: v.to(model.device)for k, v in inputs.items()}12outputs = model.generate(**inputs, max_new_tokens=100, do_sample=True, temperature=0.8, top_p=0.95)13print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Generation Quality
This checkpoint has undergone 37,000 steps of training on the 120-layer architecture. The model is still in active training and quality continues to improve.
Proven warm start: All 120 layers begin with learned representations
Faster convergence: 54% fewer tokens expected
Stable training: Avoids cold-start instabilities
Spectral inheritance: Good conditioning from Phase A source
Simple implementation: Just cyclic duplication, no complex initialization
Alternative Approaches Not Used
Function-preserving init: More complex, similar results per paper
Random initialization: Much slower convergence
Progressive stacking: More complex training schedule
Width expansion first: Different scaling dimension
Model Comparison
Model
Layers
Params
Training Status
Tokens Processed
kl3m-006-170m-checkpoint-63000
30
181.7M
Trained (63K steps)
~15.8B
kl3m-007-500m-step0
120
500.3M
Step 0 (init only)
0
kl3m-007-500m-step37000
120
500.3M
Step 37K (in training)
~3.92B
Training Philosophy
G_stack enables efficient depth scaling:
Start with proven 170M model (63K steps, 15.83B tokens)
Stack to 4× depth (120 layers)
Continue training with 54% efficiency gain
Achieve 500M quality in ~100-150K steps (vs 250K from scratch)
This approach leverages transfer learning in the depth dimension rather than traditional width scaling or fine-tuning.
Next Steps
This checkpoint will continue training toward:
Target steps: 100,000
Expected quality match: 170M@300K by step ~150K
Final model: kl3m-007-500m-final
Follow training progress in the kl3m-007-500m-checkpoint-* series.
Model Card Authors
Alea Institute
Citation
For G_stack technical details:
bibtex
1@inproceedings{gstack2024,
2 title={Stacking Your Transformers: A Closer Look at Model Growth for Efficient LLM Pre-Training},
3 author={Du, Wenyu and Luo, Tongxu and Qiu, Zihan and Huang, Zeyu and Shen, Yikang and Cheng, Reynold and Guo, Yike and Fu, Jie},
4 booktitle={NeurIPS},
5 year={2024},
6 note={arXiv:2405.15319}
7}
89@misc{kl3m2025,
10 title={KL3M: Knowledge-Guided Language Model Training with G_stack Depth Expansion},
11 author={Alea Institute},
12 year={2025},
13 url={https://github.com/alea-institute/alea-models},
14 note={500M model via 4x cyclic duplication from 170M Phase 2+A}
15}