Git Product home page Git Product logo

Comments (1)

yuanxiaosc avatar yuanxiaosc commented on May 26, 2024

bert里面estimator都是封装好的高级API,只能等所有的epochs都跑完之后才会跑验证集,这样根本没法知道保存的哪个ckpt是在验证集上表现最佳的,请问如何在每保存一个ckpt之后验证一次? 或者作者是怎么测试的,能分享一下吗? 谢谢!

我的经验是,当训练结果还不稳定时直接看训练过程中的表现即可(在测试集的准确率、auc等等),等到效果稳定时,再加载模型用测试模式。至于你说的问题可以通过设置训练epoch数量,或者另外加载模型(最新的ckpt文件)跑测试集

from entity-relation-extraction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.