Download eval/ejbench_eval/__init__.py from GradientDynamics/EJBench: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/datasets/GradientDynamics/EJBench/resolve/main/eval/ejbench_eval/__init__.py
- Command line
-
hf download hf://datasets/GradientDynamics/EJBench/eval/ejbench_eval/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/GradientDynamics/EJBench/resolve/main/eval/ejbench_eval/__init__.py
524 Bytes
| """EJBench evaluation harness: load tasks, prompt a model, score answers. | |
| Scorers return a value in [0, 1] per task; the headline metric is the macro mean over task | |
| families. Multi-step tasks run through ``StoredDataEnv`` (tool calls under a budget; the | |
| hidden state is never shown to the model). | |
| """ | |
| from .data import FAMILIES, load_tasks | |
| from .env import StoredDataEnv | |
| from .parsing import extract_json | |
| from .scoring import score_task | |
| __all__ = ["FAMILIES", "StoredDataEnv", "extract_json", "load_tasks", "score_task"] | |