Spaces:
Build error
Build error
Download src/about.py from EmbodiedAgentInterface/backend: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/spaces/EmbodiedAgentInterface/backend/resolve/da4c3ac86bdec340ea7cd73de405becf8e9e59a2/src/about.py
- Command line
-
hf download hf://spaces/EmbodiedAgentInterface/backend@da4c3ac86bdec340ea7cd73de405becf8e9e59a2/src/about.py
-
curl -L -o about.py https://huggingface.co/spaces/EmbodiedAgentInterface/backend/resolve/da4c3ac86bdec340ea7cd73de405becf8e9e59a2/src/about.py
672 Bytes
| from dataclasses import dataclass | |
| from enum import Enum | |
| class Task: | |
| benchmark: str | |
| metric: str | |
| col_name: str | |
| # Change for your tasks here | |
| # --------------------------------------------------- | |
| class Tasks(Enum): | |
| # task_key in the json file, metric_key in the json file, name to display in the leaderboard | |
| task0 = Task("anli_r1", "acc", "ANLI") | |
| task1 = Task("logiqa", "acc_norm", "LogiQA") | |
| NUM_FEWSHOT = 0 # Change with your few shot | |
| TASKS_HARNESS = [task.value.benchmark for task in Tasks] | |
| # --------------------------------------------------- | |
| TASKS_LIGHTEVAL = "lighteval|anli:r1|0|0,lighteval|logiqa|0|0" | |
| #custom|myothertask|0|0 |