Spaces:
Sleeping
Sleeping
Download scripts/capture_baseline.py from kmkarakaya/openLLMbenchmark: direct link, hf CLI and curl.
- Browser
- Download file 567 Bytes
-
https://huggingface.co/spaces/kmkarakaya/openLLMbenchmark/resolve/main/scripts/capture_baseline.py
- Command line
-
hf download hf://spaces/kmkarakaya/openLLMbenchmark/scripts/capture_baseline.py
-
curl -L -o capture_baseline.py https://huggingface.co/spaces/kmkarakaya/openLLMbenchmark/resolve/main/scripts/capture_baseline.py
567 Bytes
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[1] | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |
| from fixtures import capture_baseline_fixtures | |
| DATA_DIR = ROOT / "data" | |
| def main() -> None: | |
| results_path = DATA_DIR / "results.json" | |
| markdown_path = ROOT / "results.md" | |
| json_target, md_target = capture_baseline_fixtures(results_path, markdown_path) | |
| print(f"Baseline JSON: {json_target}") | |
| print(f"Baseline MD: {md_target}") | |
| if __name__ == "__main__": | |
| main() | |