Datasets:
Download scripts/run_eval.py from Lux1997/eMCR: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/datasets/Lux1997/eMCR/resolve/main/scripts/run_eval.py
- Command line
-
hf download hf://datasets/Lux1997/eMCR/scripts/run_eval.py
-
curl -L -o run_eval.py https://huggingface.co/datasets/Lux1997/eMCR/resolve/main/scripts/run_eval.py
434 Bytes
| """Thin wrapper around the mcr CLI so it runs without installing the package. | |
| PYTHONPATH=src python scripts/run_eval.py eval \ | |
| --model st_text --benchmark ssrb --output runs/demo --max-queries 50 | |
| """ | |
| import os | |
| import sys | |
| sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "src")) | |
| from mcr.cli import main # noqa: E402 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |