genienlp/dockerfiles/kfserver_start.sh

7 lines
195 B
Bash
Raw Normal View History

2021-01-15 20:50:33 +00:00
#!/bin/bash
set -eux
aws s3 sync --exclude '*/dataset/*' --exclude '*/cache/*' --exclude 'iteration_*.pth' --exclude '*_optim.pth' "${S3_MODEL_DIR}" ./model
genienlp kfserver --path ./model $@