mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-29 23:09:04 -05:00
Standardize milestone naming with numbered sequence and historical anchors
Applied consistent naming pattern: 0X_[figure]_[task].py M01 (1957 Perceptron): - forward_pass.py → 01_rosenblatt_forward.py - perceptron_trained.py → 02_rosenblatt_trained.py M02 (1969 XOR): - xor_crisis.py → 01_xor_crisis.py - xor_solved.py → 02_xor_solved.py M03 (1986 MLP): - mlp_digits.py → 01_rumelhart_tinydigits.py - mlp_mnist.py → 02_rumelhart_mnist.py M04 (1998 CNN): - cnn_digits.py → 01_lecun_tinydigits.py - lecun_cifar10.py → 02_lecun_cifar10.py M05 (2017 Transformer): - vaswani_chatgpt.py → 01_vaswani_generation.py - vaswani_copilot.py → 02_vaswani_dialogue.py - profile_kv_cache.py → 03_vaswani_profile.py Benefits: - Clear execution order (01, 02, 03) - Historical context (rosenblatt, lecun, vaswani) - Descriptive purpose (generation, dialogue, profile) - Consistent structure across all milestones Updated documentation: - README.md: Updated all milestone examples - site/chapters/milestones.md: Updated bash commands
This commit is contained in:
@@ -98,9 +98,9 @@ Images → Flatten → Linear → ReLU → Linear → ReLU → Linear → Classe
|
||||
- Architecture: Multi-layer feature learning
|
||||
|
||||
```bash
|
||||
cd milestones/03_1986_mlp_revival
|
||||
python mlp_digits.py # 8x8 digits (quick)
|
||||
python mlp_mnist.py # Full MNIST
|
||||
cd milestones/03_1986_mlp
|
||||
python 01_rumelhart_tinydigits.py # 8x8 digits (quick)
|
||||
python 02_rumelhart_mnist.py # Full MNIST
|
||||
```
|
||||
|
||||
**Expected Results**: 95%+ accuracy on MNIST
|
||||
@@ -128,9 +128,9 @@ Images → Conv → ReLU → Pool → Conv → ReLU → Pool → Flatten → Lin
|
||||
- Architecture: Local connectivity + translation invariance
|
||||
|
||||
```bash
|
||||
cd milestones/04_1998_cnn_revolution
|
||||
python cnn_digits.py # Spatial features on digits
|
||||
python lecun_cifar10.py # CIFAR-10 @ 75%+ accuracy
|
||||
cd milestones/04_1998_cnn
|
||||
python 01_lecun_tinydigits.py # Spatial features on digits
|
||||
python 02_lecun_cifar10.py # CIFAR-10 @ 75%+ accuracy
|
||||
```
|
||||
|
||||
**Expected Results**: **75%+ accuracy on CIFAR-10** ✨
|
||||
|
||||
Reference in New Issue
Block a user