The best ChatGPT that $100 can buy.
Python
new optimal ratio for d26 training
Andrej Karpathy685271dc8db2
diff --git a/runs/speedrun.sh b/runs/speedrun.shindex c423ba6..62466c7 100644--- a/runs/speedrun.sh+++ b/runs/speedrun.sh@@ -70,7 +70,7 @@ echo "Waiting for dataset download to complete..."wait $DATASET_DOWNLOAD_PID# d24 model (slightly overtrained is enough to beat GPT-2 => increase data:params ratio from compute optimal 10.5 (default) to 12)-torchrun --standalone --nproc_per_node=8 -m scripts.base_train -- --depth=26 --target-param-data-ratio=8.5 --device-batch-size=16 --fp8 --run=$WANDB_RUN+torchrun --standalone --nproc_per_node=8 -m scripts.base_train -- --depth=26 --target-param-data-ratio=8.25 --device-batch-size=16 --fp8 --run=$WANDB_RUN# evaluate the model: CORE metric, BPB on train/val, and draw samplestorchrun --standalone --nproc_per_node=8 -m scripts.base_eval -- --device-batch-size=16