Branches for ML Experiments
git switch -c exp/lr-sweep
git commit -am "Sweep lr in {1e-4, 1e-3, 1e-2}; 1e-3 wins (F1 0.81)"
Log the commit hash with every run, so every number on your dashboard maps to exact code:
import subprocess, trackio
commit = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"], text=True).strip()
trackio.init(project="movie-predictor", config={"lr": 1e-3, "git_commit": commit})