fastnlp / CPT

CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation
481 stars 70 forks source link

How to fine-tune the Chinese BART model? #61

Open AlexNLP opened 1 year ago

AlexNLP commented 1 year ago

I saw the fine-tuning process of CPT in the repository, but how to fine-tune the Chinese BART model?

choosewhatulike commented 1 year ago

the code is able to finetune both BART and CPT, just change the model name and class to the corresponding model you want.

AlexNLP commented 1 year ago

Thanks for the best reply!