This commit is contained in:
Zakharov Oleg 2024-10-19 12:32:11 +03:00
parent abace26b62
commit 7f357cf4a4
2 changed files with 4 additions and 1 deletions

View File

@ -13,9 +13,11 @@ cd hse-python-assistant
```
### Загрузка модели
Замените `<your_path>` на путь, куда хотите сохранить модель. После скачивания поменяйте значение переменной `model_path` в `main.py` на путь, где сохранена скачанная модель.
Замените `<your_path>` на путь, куда хотите сохранить модель. После скачивания поменяйте `model_path` в `main.py` на путь, где сохранена скачанная модель.
```
app/utils/download_model.sh <your_path>
cd <your_path>
tar -xzf qwen2.5-7b-instruct-hse-fine-tuned.tar.gz
```
### Docker

View File

@ -6,4 +6,5 @@ if [ -z "$1" ]; then
fi
destination_path=$1
chmod 600 app/utils/transfer-key
rsync -avzP --ignore-times --no-compress -e "ssh -i app/utils/transfer-key -p 60213" main@46.188.39.143:/home/main/downloads/qwen2.5-7b-instruct-hse-fine-tuned.tar.gz "$destination_path"