Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- pico-lm/pretokenized-paloma
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
metrics:
|
| 8 |
+
- pico-lm/perplexity
|
| 9 |
+
pipeline_tag: text-generation
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Pico Decoder Medium
|
| 13 |
+
|
| 14 |
+
**pico-decoder-medium** is a 181M parameter model in the `pico-decoder` suite, balancing scale and analyzability. Built with [`pico-train`](https://github.com/pico-lm) and instrumented with [`pico-analyze`](https://github.com/pico-lm), it enables detailed studies of layer-wise learning behavior during language model pretraining.
|
| 15 |
+
|
| 16 |
+
## 🔧 Model Details
|
| 17 |
+
|
| 18 |
+
| Field | Value |
|
| 19 |
+
|---------------------|------------------------------------|
|
| 20 |
+
| **Architecture** | Decoder-only transformer (LLaMA-style) |
|
| 21 |
+
| **Parameters** | 181M |
|
| 22 |
+
| **Layers** | 12 |
|
| 23 |
+
| **Hidden Size** | 768 |
|
| 24 |
+
| **Feed Forward Size**| 3072 |
|
| 25 |
+
| **Attention Heads** | 12 |
|
| 26 |
+
| **Key/Value Heads** | 4 |
|
| 27 |
+
|
| 28 |
+
## 📚 Training
|
| 29 |
+
|
| 30 |
+
- **Dataset**: [`pretokenized-dolma`](https://github.com/pico-lm)
|
| 31 |
+
- **Training steps**: 200,000
|
| 32 |
+
- **Batch size**: 1024
|
| 33 |
+
- **Sequence length**: 2048
|
| 34 |
+
- **Optimizer**: AdamW
|
| 35 |
+
- **Learning rate schedule**: Linear decay with warmup
|
| 36 |
+
- **Compute**: 16 A100-SXM4-80GB GPUs
|
| 37 |
+
|
| 38 |
+
## 📈 Evaluation and Analysis
|
| 39 |
+
|
| 40 |
+
Compatible with [`pico-analyze`](https://github.com/pico-lm) for introspecting:
|
| 41 |
+
|
| 42 |
+
- Per-head loss and gradient stats
|
| 43 |
+
- Learning saturation across layers
|
| 44 |
+
- Token-level memorization dynamics
|
| 45 |
+
|
| 46 |
+
Evaluated on [`pico-paloma-tinsy`](https://huggingface.co/datasets/pico-lm/pretokenized-paloma-tinsy) using perplexity.
|
| 47 |
+
|
| 48 |
+
## 📄 Citation
|
| 49 |
+
|
| 50 |
+
```bibtex
|
| 51 |
+
@software{pico2025,
|
| 52 |
+
author = {Diehl Martinez, Richard},
|
| 53 |
+
title = {Pico: A Lightweight Framework for Studying Language Model Learning Dynamics},
|
| 54 |
+
year = {2025},
|
| 55 |
+
url = {https://github.com/pico-lm}
|
| 56 |
+
}
|