Spaces:
Running on Zero
Running on Zero
Download src/evaluation/__init__.py from yashvasudeva/Adaptive_Rag: direct link, hf CLI and curl.
- Browser
- Download file 627 Bytes
-
https://huggingface.co/spaces/yashvasudeva/Adaptive_Rag/resolve/main/src/evaluation/__init__.py
- Command line
-
hf download hf://spaces/yashvasudeva/Adaptive_Rag/src/evaluation/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/yashvasudeva/Adaptive_Rag/resolve/main/src/evaluation/__init__.py
627 Bytes
| from .dataset import EVALUATION_DATASET, EvalCase | |
| def __getattr__(name: str): | |
| if name in ("BenchmarkReport", "run_benchmark"): | |
| from . import benchmark | |
| return getattr(benchmark, name) | |
| if name in ("AblationSuiteResult", "ConfigMetrics", "run_ablation_suite"): | |
| from . import ablation | |
| return getattr(ablation, name) | |
| raise AttributeError(f"module '{__name__}' has no attribute '{name}'") | |
| __all__ = [ | |
| "EvalCase", | |
| "BenchmarkReport", | |
| "EVALUATION_DATASET", | |
| "run_benchmark", | |
| "AblationSuiteResult", | |
| "ConfigMetrics", | |
| "run_ablation_suite", | |
| ] | |