Download REPRODUCE.bat from PureOne/AUREOLE-R-v3: direct link, hf CLI and curl.
- Browser
- Download file 830 Bytes
-
https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/REPRODUCE.bat
- Command line
-
hf download hf://PureOne/AUREOLE-R-v3/REPRODUCE.bat
-
curl -L -o REPRODUCE.bat https://huggingface.co/PureOne/AUREOLE-R-v3/resolve/main/REPRODUCE.bat
830 Bytes
| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| if exist .venv\Scripts\python.exe goto dependencies | |
| python -m venv .venv | |
| if errorlevel 1 exit /b 1 | |
| :dependencies | |
| .venv\Scripts\python.exe -m pip install -r requirements.txt | |
| if errorlevel 1 exit /b 1 | |
| set OPENBLAS_NUM_THREADS=1 | |
| set OMP_NUM_THREADS=1 | |
| .venv\Scripts\python.exe -m unittest discover -s tests -v | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe -m unittest discover -s legacy/code -p test_*.py -v | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe scripts\benchmark_innovation.py | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe scripts\benchmark_queries.py | |
| if errorlevel 1 exit /b 1 | |
| .venv\Scripts\python.exe scripts\validate_release.py --require-replay | |
| if errorlevel 1 exit /b 1 | |
| echo Completed. See innovation_reproduced, queries_reproduced and validation_reproduced.json. | |
| endlocal | |