mirror of
https://github.com/karpathy/nanochat.git
synced 2026-03-20 20:03:19 +00:00
- Introduced `MOE_DEBUG_INTERVAL` parameter in `runmps.sh` to control debug logging frequency during training. - Enhanced `base_train.py` to log gradients of routed and shared weights at specified intervals, aiding in monitoring model performance. - Updated `gpt.py` to adjust router bias calculations, improving load balancing among experts. - Added unit tests in `test_moe.py` to validate the behavior of the MoE implementation and ensure correctness of gradient calculations. |
||
|---|---|---|
| .. | ||
| gen_synthetic_data.py | ||
| generate_logo.html | ||
| nanochat.png | ||
| repackage_data_reference.py | ||
| runcpu.sh | ||
| runmps_evals.sh | ||
| runmps.sh | ||