Giter VIP home page Giter VIP logo

Comments (3)

Morizeyao avatar Morizeyao commented on May 18, 2024

从经验上看,数据量越大需要训练的epoch越少。
数据如果比较小的话,可以训练数十个epoch。
因为代码里包含了每个epoch保存模型的功能,所以可以对于每个节点分别进行生成,观察并比较生成的效果。
如有1G以上的数据,训练一个epoch其实就可以观察到比较可观的生成效果了。当然,对大数据来说,训练的越久越好。

from gpt2-chinese.

ZhaoyueSun avatar ZhaoyueSun commented on May 18, 2024

非常感谢!

from gpt2-chinese.

fengzuo97 avatar fengzuo97 commented on May 18, 2024

试验5个epoch基本可以收敛,英伟达训练megatron gpt2也是5个epoch收敛

from gpt2-chinese.

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.