ahmad21omar's picture
Add GAIA agent (Unit 4 final assignment)
f6c0112
|
Raw
History Blame Contribute Delete
1.14 kB
---
title: GAIA Agent (Unit 4 Final)
emoji: 🕵️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_expiration_minutes: 480
---
# Unit 4 – Final Assignment: GAIA Agent
Agent für das Abschlussprojekt des Hugging Face Agents Course.
Beantwortet 20 GAIA-Level-1-Fragen und reicht sie über die Kurs-API ein.
Ziel: **≥ 30 %** für das Zertifikat.
## Setup im Space
1. Dieses Space muss **public** sein (für die Leaderboard-Verifizierung).
2. In **Settings → Variables and secrets** ein Secret **`HF_TOKEN`** anlegen
(dein Hugging Face Access Token mit "Read"-Rechten, erstellbar unter
https://huggingface.co/settings/tokens).
3. Optional: Secret `MODEL_ID` setzen, um ein anderes Modell zu wählen.
## Benutzung
1. Im laufenden Space mit Hugging Face einloggen (Button).
2. "Run Evaluation & Submit All Answers" klicken.
3. Auf den Score warten – bei ≥ 30 % das Zertifikat unter
`agents-course/Unit4-Final-Certificate` abholen.
## Lokaler Test
```bash
pip install -r requirements.txt
$env:HF_TOKEN = "hf_dein_token" # PowerShell
python app.py
```