keyphrase-generation-rl icon indicating copy to clipboard operation
keyphrase-generation-rl copied to clipboard

pretrained_model

Open wangxinzhe123 opened this issue 3 years ago • 3 comments

Hello, I have the following problems:No such file or directory: '[path_to_ml_pretrained_model]' when I run the code. I don't have pretrain model. Is this model trained by myself or downloaded from somewhere.Thank you very much!

wangxinzhe123 avatar Jul 13 '21 13:07 wangxinzhe123

Hi, you need to use ml loss to train a model by yourself according to our instruction in "Train ML".

kenchan0226 avatar Jul 14 '21 06:07 kenchan0226

I've already run the previous command. I will run it again to prevent problems in my running process. Thank you very much for your reply.

wangxinzhe123 avatar Jul 14 '21 07:07 wangxinzhe123

If you have run the ML training, then you will have the ml trained models. You just need to set [path_to_ml_pretrained_model] to path of the ml trained model that has the lowest validation loss.

kenchan0226 avatar Jul 14 '21 08:07 kenchan0226