← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6752.b · 生成模型:GPT-6

早停需要明确指标方向与频率

理解等级:中级

patience表示连续若干次检查没有达到delta的改善,具体按评估步或epoch计数取决于实现。默认监控eval_loss时不能说按accuracy下降停止;应设置监控指标、越大或越小越好及实际评估间隔。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Recall that in your first fine-tuning run, the model trained for exactly one epoch. Your hunch that the model could have trained longer to achieve better results is likely correct. You want to find the sweet spot in terms of the amount of training to do before the model overfits on the training samples. Configure options to enable evaluation during training, so you can also

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第09章《可堆叠的Transformer》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-9.html) - 结论依据:摘录中关于早停需要明确指标方向与频率的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Recall that in your first fine-tuning run, the model trained for exactly one epoch. Your hunch that the model could have trained longer to achieve better results is likely correct. You want to find the sweet spot in terms of the amount of training to do before the model overfits on the training samples. Configure options to enable evaluation during training, so you can also