最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

fine tuning - How can I decide how many epochs to train for when re-training a model on the full dataset without a validation se

programmeradmin2浏览0评论

I have a BERT model that I want to fine-tune. Initially, I use a training dataset, which I split into a training and validation set. During fine-tuning, I monitor the validation loss to ensure that the model is learning properly. If the validation loss increases or does not improve for a certain number of epochs (as defined by the patience parameter), I apply early stopping.

Once the model has been fine-tuned, I then want to re-train it on 100% of the training data — including the validation set used earlier — to make full use of the available data.

My question is: during this final round of fine-tuning on the full dataset, how many epochs should I train for, given that I no longer have a validation set to monitor and prevent overfitting?

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论