- Change dir to training
cd training
- Install requirements
pip install -r requirements.txt
- Train your modles use your custom dataset
cd ptuning
# modify training scripts to adapt your configs
bash train_router.sh
# bash train_nl2sql.sh
# bash train_normalize.sh
- Change dir to training
cd serving
- Install requirements
pip install -r requirements.txt
- Copy your tuned models to prefix_encoder
cp -r xxx prefix_encoder
- Run your app
bash run.sh