Upload setup_and_test.bat with huggingface_hub
Browse files- setup_and_test.bat +15 -0
setup_and_test.bat
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@echo off
|
| 2 |
+
echo Creating virtual environment...
|
| 3 |
+
py -m venv venv
|
| 4 |
+
call venv\Scripts\activate
|
| 5 |
+
|
| 6 |
+
echo Upgrading pip...
|
| 7 |
+
python -m pip install --upgrade pip
|
| 8 |
+
|
| 9 |
+
echo Installing dependencies (this may take a while)...
|
| 10 |
+
pip install -r requirements.txt
|
| 11 |
+
|
| 12 |
+
echo Running HF Training Test...
|
| 13 |
+
python -m src.train_hf
|
| 14 |
+
|
| 15 |
+
pause
|