Giter VIP home page Giter VIP logo

Comments (4)

sserdoubleh avatar sserdoubleh commented on May 29, 2024

可以的
可以直接在train_args里面加上,比如

train_args="
--lr_scheduler linear
--max_decay_steps 2000
"

from knover.

guijuzhejiang avatar guijuzhejiang commented on May 29, 2024

谢谢回复,请问数据量比较大时,用哪种lr_scheduler比较好?用的默认的noam,一个epoch刚训到1/6左右,lr已经衰减到1e-6了,学习率过小会不会造成后面的数据训练不充分,收敛慢?

from knover.

sserdoubleh avatar sserdoubleh commented on May 29, 2024

如果使用的是默认的noam,增大 warmup_steps 比较好
也可以用简单的linear decay(不同的scheduler对效果影响不大),max_decay_step设置成你要训练的step数就好

from knover.

guijuzhejiang avatar guijuzhejiang commented on May 29, 2024

谢谢,还是用linear试试

from knover.

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.