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 / evidence / OMEGALLM / v1 / after.sh
| 1 | #!/bin/sh |
| 2 | # After ollm-night writes train.rc: held-out eval and samples from the final checkpoint, logged with times and shas. |
| 3 | cd "$(dirname "$0")/.." |
| 4 | while [ ! -s v1-night/train.rc ]; do sleep 60; done |
| 5 | o=v1-night/after.txt |
| 6 | { |
| 7 | echo "start $(date -u +%FT%TZ)" |
| 8 | cat v1-night/train.rc |
| 9 | tail -1 v1-night/train.txt |
| 10 | sha256sum v1-night/ollm v1-night/ck.bin v1-data/held.tok v1-data/merges4096.bin |
| 11 | a=$(date +%s) |
| 12 | taskset -c 6 v1-night/ollm eval v1-night/ck.bin v1-data/held.tok 4486 v1-data/merges4096.bin |
| 13 | echo "eval rc=$? wall_s=$(( $(date +%s) - a ))" |
| 14 | } >> $o 2>&1 |
| 15 | for p in "Once upon a time" "The little dog" "Lily wanted to"; do |
| 16 | for t in 0 800; do |
| 17 | { |
| 18 | echo "--- sample seed 1 N 200 temp $t prompt [$p]" |
| 19 | taskset -c 7 v1-night/ollm sample v1-night/ck.bin 1 200 $t "$p" v1-data/merges4096.bin |
| 20 | r=$? |
| 21 | echo |
| 22 | echo "rc=$r" |
| 23 | } >> v1-night/samples.txt 2>&1 |
| 24 | done |
| 25 | done |
| 26 | echo "end $(date -u +%FT%TZ)" >> $o |