Skip to content

Conversation

@lhoestq
Copy link
Member

@lhoestq lhoestq commented Dec 8, 2025

Support for .eval log files from inspect_ai

They are actually ZIP files according to the source code at https://github.com/UKGovernmentBEIS/inspect_ai/blob/main/src/inspect_ai/log/_log.py

Unfortunately their format can't be converted to Parquet, so I had to JSON-encode all the nested values

ds = load_dataset("dvilasuero/kimi-bfcl")

this will enable the Viewer for datasets like https://huggingface.co/datasets/dvilasuero/kimi-bfcl

original tweet for context: https://x.com/dvilasuero/status/1996936988176343220?s=20

cc @dvsrepo @julien-c @davanstrien

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@davanstrien
Copy link
Member

Very cool!

Any reason not to directly use inspect for loading/converting from the binary format to JSON? https://inspect.aisi.org.uk/reference/inspect_ai.log.html#convert_eval_logs

@lhoestq
Copy link
Member Author

lhoestq commented Dec 9, 2025

The format is simple enough to not have to rely on an additional dependency :)

@lhoestq lhoestq merged commit 0ec4d87 into main Dec 9, 2025
12 of 15 checks passed
@lhoestq lhoestq deleted the add-inspectai-eval branch December 9, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants