Spaces:
Sleeping
Sleeping
Download scripts/run_benchmark.py from adelevett/ELBench-live: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/spaces/adelevett/ELBench-live/resolve/main/scripts/run_benchmark.py
- Command line
-
hf download hf://spaces/adelevett/ELBench-live/scripts/run_benchmark.py
-
curl -L -o run_benchmark.py https://huggingface.co/spaces/adelevett/ELBench-live/resolve/main/scripts/run_benchmark.py
235 Bytes
| from pathlib import Path | |
| import sys | |
| ROOT = Path(__file__).resolve().parents[1] | |
| SRC = ROOT / "src" | |
| if str(SRC) not in sys.path: | |
| sys.path.insert(0, str(SRC)) | |
| from elbench.cli import main | |
| if __name__ == "__main__": | |
| main() | |