THUNLP-MT / THUMT

An open-source neural machine translation toolkit developed by Tsinghua Natural Language Processing Group
BSD 3-Clause "New" or "Revised" License
701 stars 197 forks source link

how to fine tuning with pre_trained model #119

Open WY19940327 opened 2 years ago

WY19940327 commented 2 years ago

hello, I have pre-trained transformer model ,and now I want to adds another layer to fine tuning my model with new data. but when I read last pre-trained model checkpoint, it display error with not found key in checkpoint. and what should I do for this error, how to modify trainer.py