|
| 1 | +# Dataset Download Instructions |
| 2 | + |
| 3 | +## Prerequisites |
| 4 | + |
| 5 | +Before downloading the datasets, you need to: |
| 6 | + |
| 7 | +1. **Request access to Hugging Face datasets**: |
| 8 | + - **GAIA Dataset**: https://huggingface.co/datasets/gaia-benchmark/GAIA |
| 9 | + - **HLE Dataset**: https://huggingface.co/datasets/cais/hle |
| 10 | + |
| 11 | + Please visit these links and request access to the datasets. |
| 12 | + |
| 13 | +2. **Configure environment variables**: |
| 14 | + |
| 15 | + Copy the template file and create your environment configuration: |
| 16 | + ```bash |
| 17 | + cp .env.template .env |
| 18 | + ``` |
| 19 | + |
| 20 | + Then edit the `.env` file and configure these two essential variables: |
| 21 | + |
| 22 | + ```env |
| 23 | + # Required: Your Hugging Face token for dataset access |
| 24 | + HF_TOKEN="your-actual-huggingface-token-here" |
| 25 | + |
| 26 | + # Data directory path |
| 27 | + DATA_DIR="data/" |
| 28 | + ``` |
| 29 | + |
| 30 | + To get your Hugging Face token: |
| 31 | + - Go to https://huggingface.co/settings/tokens |
| 32 | + - Create a new token with "Read" permissions |
| 33 | + - Replace `<your-huggingface-token>` in the `.env` file with your actual token |
| 34 | + |
| 35 | +## Download and Prepare Datasets |
| 36 | + |
| 37 | +Once you have been granted access to the required datasets, run the script `bash scripts/run_prepare_benchmark.sh` shown below to download and prepare all benchmark datasets. You may comment out any unwanted datasets: |
| 38 | + |
| 39 | +``` |
| 40 | +#!/bin/bash |
| 41 | +echo "Please grant access to these datasets:" |
| 42 | +echo "- https://huggingface.co/datasets/gaia-benchmark/GAIA" |
| 43 | +echo "- https://huggingface.co/datasets/cais/hle" |
| 44 | +echo |
| 45 | +
|
| 46 | +read -p "Have you granted access? [Y/n]: " answer |
| 47 | +answer=${answer:-Y} |
| 48 | +if [[ ! $answer =~ ^[Yy] ]]; then |
| 49 | + echo "Please grant access to the datasets first" |
| 50 | + exit 1 |
| 51 | +fi |
| 52 | +echo "Access confirmed" |
| 53 | +
|
| 54 | +# Comment out any unwanted datasets by adding # at the start of the line |
| 55 | +uv run main.py prepare-benchmark get gaia-val |
| 56 | +uv run main.py prepare-benchmark get gaia-val-text-only |
| 57 | +uv run main.py prepare-benchmark get frames-test |
| 58 | +uv run main.py prepare-benchmark get webwalkerqa |
| 59 | +uv run main.py prepare-benchmark get browsecomp-test |
| 60 | +uv run main.py prepare-benchmark get browsecomp-zh-test |
| 61 | +uv run main.py prepare-benchmark get hle |
| 62 | +``` |
| 63 | +This script will: |
| 64 | +1. Confirm that you have access to the required datasets |
| 65 | +2. Download and prepare the following benchmark datasets: |
| 66 | + - gaia-val |
| 67 | + - gaia-val-text-only |
| 68 | + - frames-test |
| 69 | + - webwalkerqa |
| 70 | + - browsecomp-test |
| 71 | + - browsecomp-zh-test |
| 72 | + - hle |
| 73 | + |
| 74 | + |
| 75 | +--- |
| 76 | +**Last Updated:** Sep 2025 |
| 77 | +**Doc Contributor:** Index @ MiroMind AI |
0 commit comments