aien-train
AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.
Brought by drakestapleton
aien-train / tests / omegallm / v0-run.sh
| 1 | #!/bin/sh |
| 2 | # Usage: copy this script into a run directory first, beside ollm, train.bin and held.bin, and run |
| 3 | # it there (sh <run dir>/run.sh). It cds to its own directory and writes every checkpoint, eval and |
| 4 | # sample there, so run in place it would write into tests/omegallm. Lines 2-5 (this header) were |
| 5 | # added 2026-11-04; the v0 run's run.sh (sha256 4898aae5…) is this file without them. |
| 6 | set -eu |
| 7 | cd "$(dirname "$0")" |
| 8 | sha256sum ollm train.bin held.bin > shas.txt |
| 9 | date -u +%FT%TZ > started.txt |
| 10 | ./ollm init ck.bin 256 64 64 4 256 2 16 1 20000 3000 > init.txt |
| 11 | ./ollm eval ck.bin held.bin 256 >> evals.txt |
| 12 | u=1000 |
| 13 | while [ $u -le 20000 ]; do |
| 14 | ./ollm train ck.bin train.bin $u 250 >> train.txt |
| 15 | ./ollm eval ck.bin held.bin 256 >> evals.txt |
| 16 | cp ck.bin ck-$u.bin.tmp && mv ck-$u.bin.tmp ck-$u.bin |
| 17 | u=$((u+1000)) |
| 18 | done |
| 19 | ./ollm eval ck.bin held.bin 4096 > final-eval.txt |
| 20 | for s in 1 2 3; do ./ollm sample ck.bin $s 400 800 "Once upon a time" > sample-$s.txt; echo >> sample-$s.txt; done |
| 21 | ./ollm sample ck.bin 0 400 0 "Once upon a time" > sample-argmax.txt |
| 22 | date -u +%FT%TZ > finished.txt |