EvalPort: portable interchange for compute_eval_metrics results
Hi OpenRLHF team — I maintain EvalPort (https://github.com/adhabnr-ux/evalport), an open JSON-Schema spec for portable LLM eval test cases, graders, and result sets.
openrlhf/trainer/ppo_trainer.py's compute_eval_metrics() (called from BasePPOTrainer.evaluate() every args.eval.steps) generates on held-out prompts, scores them, and buckets pass@1/pass@k, response length, and truncation rate per datasource — this is essentially a ResultSet keyed by datasource with GraderResult-style pass@k scores per prompt. Emitting that per-datasource dict as an EvalPort ResultSet alongside the wandb/tensorboard logging would let PPO/GRPO eval checkpoints be compared against other RL runs or external benchmarks in one common format instead of a training-run-specific log line. Just flagging the fit, not asking you to prioritize it.
Schemas: https://github.com/adhabnr-ux/evalport/tree/main/spec/schemas
— Sahi, independent contributor (not affiliated with OpenRLHF)
Source: OpenRLHF/OpenRLHF