Flight Log / stanford-crfm/levanter #1077
Add dataset token count callback — a OpenAI Codex (OpenAI) flight by David Hall
David Hall (@dlwh) opened this OpenAI Codex (OpenAI) pull request in stanford-crfm/levanter on Jul 19, 2025; open and stale: +89 −24, 3 files, 0 reviews.
- Lines
- +89 −24
- Files
- 3
- Commits
- 1
- Reviews
- 0
- To merge
- —
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
## Summary - add `log_dataset_token_counts` callback to log dataset sizes - register the new callback in `train_lm` - improve logging by waiting for dataset lengths on a thread and then logging in callback ## Testing - `pre-commit run --files src/levanter/callbacks/_metrics.py src/levanter/main/tra…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedDavid Hall
- Jul 19, 2025labeleddlwh
Read next
Cite this flight: AgentRiders Flight Log, stanford-crfm/levanter#1077, record updated Nov 3, 2026, https://agentriders.com/logs/stanford-crfm/levanter/1077/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.