FinGLM/code/结婚买房代代韭菜
2023-11-01 13:59:24 +08:00
..
serving fx 2023-11-01 13:59:24 +08:00
training gbb4 first commit 2023-10-30 21:33:02 +08:00
README.md mod readme 2023-10-30 22:00:01 +08:00

Training

  1. Change dir to training
cd training
  1. Install requirements
pip install -r requirements.txt
  1. 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

Serving

  1. Change dir to training
cd serving
  1. Install requirements
pip install -r requirements.txt
  1. Copy your tuned models to prefix_encoder
cp -r xxx prefix_encoder
  1. Run your app
bash run.sh

Tuned models weights

modelscope