Eval: loss vs accuracy vs answers
lesson 2.6 · EvalDo held-out loss, question accuracy and the answers themselves tell the same story?
Run A
donenull · eval · ? params ·
tokens read
0
step
4,320 / 0
- train loss
- –
- best val
- 1.808
- tokens/s
- –
- MFU
- –
- peak mem
- –
- lr
- –
0:03:18 · ≈ $0.02 to rent
The machine, live
NVIDIA L4 · gcp-l4-ft1offline · neverGPU busy
– %
VRAM
– / 22 GB
Power
– / 230 W
Temperature
– °C
SM clock
– MHz
Memory bus
– %
Fan
– %
CPU
– %
PCIe
to GPU –from GPU –
Batches of token ids cross the PCIe bus into the GPU each step; weights never leave it.
Disk
read –write –
Reads: token windows from the tokenized dataset (mostly from page cache). Writes: checkpoints, about 1.5 GB each for GPT-2 124M.
Network
in –out –
In: dataset downloads from Hugging Face. Out: metrics to Supabase and checkpoint uploads to Cloud Storage.
drawing now
–
last 5 minutes
–
from the card's energy counter
this experiment
–
starts with training
RAM
–
Sampled every 2 s on the box (NVML + psutil) and pushed here over Supabase Realtime. GPU energy is the whole card. Electricity at an assumed $0.15/kWh.
What's happening
Queued
done
Download data
already on disk
Tokenize
already on disk
Build and compile
done
Warm up
done
Train
done
Finished
done
Run A
A spider has a total of 6 legs.
What happened
- AEvaluated 6 checkpoints.
- ACheckpoint 4320: 6.0% of 300 held-out questions, 12/20 hand-written; val loss 1.808.
- ACheckpoint 4000: 7.0% of 300 held-out questions, 13/20 hand-written; val loss 1.810.
- ACheckpoint 3000: 5.7% of 300 held-out questions, 12/20 hand-written; val loss 1.837.
- ACheckpoint 2000: 5.3% of 300 held-out questions, 12/20 hand-written; val loss 1.877.
- ACheckpoint 1000: 4.0% of 300 held-out questions, 11/20 hand-written; val loss 1.952.
- ACheckpoint 0: 3.3% of 300 held-out questions, 8/20 hand-written; val loss 2.453.
- AEvaluating 6 checkpoints of run 18b4f4d5 on held-out answers (2776 examples) and 300 + 20 questions.