File size: 1,349 Bytes
2705160 b6fa5fc 2705160 fbe62f9 2705160 b6fa5fc | 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 63 | ---
title: GAIA Unit 4 Workbench
sdk: gradio
app_file: app.py
pinned: false
hf_oauth: true
---
# Hugging Face GAIA Agent Workbench
Small Hugging Face Space/workbench for the Agents Course Unit 4 final assignment.
## What It Does
- Fetches the 20 filtered GAIA Level 1 questions from the course API.
- Downloads task files into `data/files/`.
- Lets you maintain exact-match answers in `answers.local.json`.
- Submits answers to the course scoring API from the Gradio UI or CLI.
## Required For Final Submission
- Hugging Face account.
- Public Hugging Face Space with this code.
- HF login in the Space UI.
- Exact final answers without `FINAL ANSWER` prefix.
## Local Setup
```bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python gaia_workbench.py fetch
python app.py
```
## CLI
```bash
python gaia_workbench.py fetch
python gaia_workbench.py download-files
python gaia_workbench.py status
python gaia_workbench.py submit --username YOUR_HF_USERNAME --agent-code https://huggingface.co/spaces/YOUR_USERNAME/YOUR_SPACE/tree/main
```
## Answer File
Create `answers.local.json` from the template:
```bash
cp answers.template.json answers.local.json
```
Then fill:
```json
{
"task-id": "exact answer"
}
```
`answers.local.json` is gitignored because it may contain your final submission answers.
|