Repository navigation
v2.40.0: log sampled rollout completions during training
Features
-
log sampled rollout completions during training
train_llm_rollouttakes a newcompletion_logging=CompletionLoggingConfig(...)argument. When set, each iteration samples prompt groups from the rollout batch and decodes prompt, completion, reward, turn count and completion-token count. Everyintervaliterations the samples from every population member go in one write to the console (verbose), a W&Bcompletionstable (wb) and an optional JSONL file (jsonl_path). Text fields are capped atmax_chars, keeping head and tail. The latest samples are also logged at error level if training raises.The building blocks (
CompletionLogger,CompletionRecord,build_completion_recordand the writers) live inagilerl.training.llm.completion_loggingfor custom training loops.
Other
-
bump GitHub Actions off Node 20 and CodeQL Action v3
Put the CodeQL job steps in
.github/workflows/codeql.ymlso that file has
on.push(CI still calls it as a merge gate; push to main and the weekly
schedule still feed the Security tab). Useactions/checkout@v5and
github/codeql-actionv4.
Full Changelog: v2.39.0...v2.40.0