Where to find the right files?
#45
by
Wituz
- opened
Hey, I'm new to all of this, so sorry for a stupid question.
The file names in metadata.jsonl does not match the filename in the folder for me.
If I clone the dataset git clone https://huggingface.co/datasets/gaia-benchmark/GAIA
, navigate to and open GAIA/2023/validation/metadata.jsonl
, look at task:
{"task_id": "32102e3e-d12a-4209-9163-7b3a104efe5d", "Question": "The attached spreadsheet shows the inventory for a movie and video game rental store in Seattle, Washington. What is the title of the oldest Blu-Ray recorded in this spreadsheet? Return it as appearing in the spreadsheet.", "Level": 2, "Final answer": "Time-Parking 2: Parallel Universe", "file_name": "32102e3e-d12a-4209-9163-7b3a104efe5d.xlsx", "Annotator Metadata": {"Steps": "1. Open the attached file.\n2. Compare the years given in the Blu-Ray section to find the oldest year, 2009.\n3. Find the title of the Blu-Ray disc that corresponds to the year 2009: Time-Parking 2: Parallel Universe.", "Number of steps": "3", "How long did this take?": "1 minute", "Tools": "1. Microsoft Excel", "Number of tools": "1"}}
But the file 32102e3e-d12a-4209-9163-7b3a104efe5d.xlsx
is just not in the folder.
So it goes for all the other files as well.
How do I get the file names in the tasks to match with the files in the repo?
Hi! You're supposed to use datasets to load the repo, with a version prior to 4.0 as we require a dataset loading script at the moment.
from datasets import load_dataset
ds = load_dataset("gaia-benchmark/GAIA")
Got it working, thank you!
Wituz
changed discussion status to
closed