Modify finetune training related parameters in finetune.py
Then you can run the pipeline to finetune with:python python finetune.py
Or you can use the finetuned model for inference directly.
Setting parameters in infer.py
Then you can run the pipeline to infer with:python python infer.py