mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-10-04 12:10:40 +08:00
* various small changes * various small changes * update * update * update * update * update * auto save * change model loc * updated instructions * moved to gcloud storage * fixed cd issue * update
19 lines
510 B
Bash
Executable File
19 lines
510 B
Bash
Executable File
MODELS_DIRECTORY=generator/gpt2/models
|
|
MODEL_VERSION=model_v5
|
|
MODEL_NAME=model-550
|
|
DOWNLOAD_URL=https://aidungeonmodel.s3-us-west-1.amazonaws.com
|
|
|
|
if [ -d "${MODELS_DIRECTORY}/${MODEL_VERSION}" ]; then
|
|
echo "AIDungeon2 is already installed"
|
|
|
|
else
|
|
cd ${MODELS_DIRECTORY}
|
|
echo "Downloading AIDungeon2 Model... (this may take a few minutes)"
|
|
gsutil -m cp -r gs://ai_dungeon_awesomeness/model_v5 .
|
|
|
|
echo "Download Complete!"
|
|
cd ../../..
|
|
|
|
pip install -r requirements.txt > /dev/null
|
|
fi
|