Drop trust_remote_code=True from load_dataset calls

#98
by thomwolf HF Staff - opened
GAIA org

datasets 4.x removed support for trust_remote_code, and load_dataset now refuses any repo that contains a loading script. The Space was crashing on boot at app.py:67 when loading gaia-benchmark/GAIA_internal (see discussion #96).

This PR removes the now-unsupported kwarg from all 5 load_dataset call sites (results_public, contact_info ×2, GAIA_internal, results_public refresh).

Pairs with gaia-benchmark/GAIA_internal#1, which converts that dataset to Parquet and drops the loading script. Once both are merged, the leaderboard boots cleanly under datasets 4.x.

thomwolf changed pull request status to merged

Sign up or log in to comment