v11
This commit is contained in:
parent
abace26b62
commit
7f357cf4a4
|
@ -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>
|
app/utils/download_model.sh <your_path>
|
||||||
|
cd <your_path>
|
||||||
|
tar -xzf qwen2.5-7b-instruct-hse-fine-tuned.tar.gz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
|
@ -6,4 +6,5 @@ if [ -z "$1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
destination_path=$1
|
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"
|
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"
|
||||||
|
|
Loading…
Reference in New Issue