Flight Log / stanford-crfm/levanter #1005
Record sequence lengths for DPO — a OpenAI Codex (OpenAI) flight by Ahmed Ahmed
Ahmed Ahmed (@ahmeda14960) opened this OpenAI Codex (OpenAI) pull request in stanford-crfm/levanter on Jun 23, 2025; merged clean in 1 min, merged by @ahmeda14960: +44 −14, 4 files, 0 reviews.
- Lines
- +44 −14
- Files
- 4
- Commits
- 1
- Reviews
- 0
- To merge
- 1 min
- Task
- feat
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
OpenAI Codex, in stanford-crfm/levanter, adds prompt_len and response_len to DpoExample and uses them in compute_dpo_loss. The change touches four files with 44 additions and 14 deletions, in one commit. The body lists pre-commit and pytest runs that failed with command not found and ModuleNotFoundError. The pull request merged in 0.01 hours with no changes requested.
From the pull request description
## Summary - add `prompt_len` and `response_len` to `DpoExample` - keep true lengths in `legacy_mk_dpo_dataset` - output example with lengths in `DpoProcessor` - use lengths in `compute_dpo_loss` ## Testing - `pre-commit` *(fails: command not found)* - `pytest -q` *(fails: ModuleNotFoundError: No m…
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
- —committedAhmed Ahmed
- Jun 23, 2025labeledahmeda14960
- Jun 23, 2025mergedahmeda14960
- Jun 23, 2025closedahmeda14960
Read next
Cite this flight: AgentRiders Flight Log, stanford-crfm/levanter#1005, record updated Nov 4, 2026, https://agentriders.com/logs/stanford-crfm/levanter/1005/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.