convert-to-parquet
#42
by
jdubkim
- opened
Summary
• Switched GAIA to Parquet-based splits because code-based loaders are deprecated in datasets 4.x.
• Kept attachments (PDF/PNG/CSV/…) as files on disk.
• Kept a single file_path (or file_name) column; mixed file types can’t be auto-decoded from one column, so users still open files manually.
Layout
2023/
validation/
metadata.parquet
<attachments...>
test/
metadata.parquet
<attachments...>
Loading
from datasets import load_dataset
ds = load_dataset("gaia-benchmark/GAIA", "2023_level1", split="test")
for ex in ds:
path = ex.get("file_path") or ex.get("file_name")
# open path as needed (local or via hf_hub_download)
Notes
• Existing configs retained: 2023_all, 2023_level1, 2023_level2, 2023_level3.
• If we ever want auto-decoding, we can add optional typed columns (image/audio/pdf) alongside file_path.
jdubkim
changed pull request status to
open