#2337·litgpt

EvalPort: portable interchange for lm_eval results.json

Author: adhabnr-uxCreated Sep 27, 2026Updated Sep 27, 2026

Hi litgpt 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.

litgpt/eval/evaluate.py's convert_and_evaluate() runs lm_eval.evaluator.simple_evaluate() and prepare_results() dumps the raw harness dict to results.json. That dict's per-task/per-metric structure maps directly onto EvalPort's ResultSet (one GraderResult per task+metric), so a small adapter in prepare_results() could emit an EvalPort ResultSet next to results.json, letting litgpt evaluate output be compared against other checkpoints or frameworks in one common format instead of the harness's own ad hoc JSON. 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 litgpt)