Spaces:
Sleeping
Sleeping
File size: 1,932 Bytes
c2649ec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# Running GAIA Benchmark in Docker
## Prerequisites
1. **Docker Installation**
- Ensure Docker is installed and running on your machine
- Verify installation:
```bash
docker ps
```
2. **Repository Setup**
- Clone the repository:
```bash
git clone https://github.com/inclusionAI/AWorld
cd AWorld
```
3. **Dataset Preparation**
- Download the GAIA dataset from [Hugging Face](https://huggingface.co/datasets/gaia-benchmark/GAIA)
- Place it in the correct directory:
```bash
git clone git@hf.co:datasets/gaia-benchmark/GAIA examples/gaia/GAIA
```
- ⚠️ **Note**: You need to configure [Hugging Face SSH Keys](https://huggingface.co/settings/keys) to access the GAIA repository
4. **API Configuration**
- Set up your environment variables:
```bash
cp .env.template .env
```
- Edit `.env` file and replace all `{YOUR_CONFIG}` placeholders with your actual values
## Running the Benchmark
1. **Start the Container**
- Build and run the GAIA container:
```bash
sh run-gaia.sh
```
- Wait for the build to complete and the container to start
2. **Access the Interface**
- Open your browser and navigate to [http://127.0.0.1:8080](http://127.0.0.1:8080)
- Register a new account
- Log in to your account
3. **Run the Benchmark**
- Select `gaia_agent` from the top menu
- Choose a GAIA question from the list
- Click the send button to start the benchmark
## Troubleshooting
- If you encounter any issues with Docker, ensure it's running properly
- For dataset access problems, verify your Hugging Face SSH keys are correctly configured
- Check the container logs if the interface is not accessible
## Additional Resources
- [GAIA Benchmark Documentation](https://huggingface.co/datasets/gaia-benchmark/GAIA)
- [Hugging Face SSH Keys Setup Guide](https://huggingface.co/settings/keys) |