Datasets:
Formats:
parquet
Languages:
English
Size:
< 1K
Tags:
video-language-model
egocentric-video
laboratory
wet-lab
procedural-monitoring
error-detection
License:
File size: 641 Bytes
f91d9a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """Built-in benchmark task registry."""
from __future__ import annotations
from .base import BenchmarkTask
from .monitor_next_step import MonitorNextStepTask
from .monitoring_step import MonitoringStepTask
from .pmd import PmdTask
TASK_REGISTRY: dict[str, BenchmarkTask] = {
"monitoring_step": MonitoringStepTask(),
"monitor_next_step": MonitorNextStepTask(),
"pmd": PmdTask(),
}
def get_task(name: str) -> BenchmarkTask:
try:
return TASK_REGISTRY[name]
except KeyError as exc:
known = ", ".join(sorted(TASK_REGISTRY))
raise KeyError(f"Unknown task {name!r}. Known tasks: {known}") from exc
|