mirror of
https://github.com/MetaGLM/FinGLM.git
synced 2024-11-25 16:35:52 +08:00
.. | ||
serving | ||
training | ||
README.md |
Training
- 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
Serving
- 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