Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

早停咨询 #2

Open
jiayidengYumy opened this issue Mar 30, 2023 · 1 comment
Open

早停咨询 #2

jiayidengYumy opened this issue Mar 30, 2023 · 1 comment

Comments

@jiayidengYumy
Copy link

您好,我想使用这个框架进行早停,看到config中有evaluation_metric和early_stop参数,想问一下是否是用这个参数来进行早停,以及其patience的值是多少,可以设置吗
附带想问一下您是否有详细的文档,暂时还没找到相关文档,谢谢您

@AI-confused
Copy link
Owner

AI-confused commented Mar 31, 2023

early_stop可以在base_task的base_train中添加,我之前训练几乎没咋用,就去掉了。
这个框架把底层训练和验证剥离出来了,如果熟悉后会发现很好用的,可以做很多NLP任务。
文档一直忙于工作没精力写了😂
近期在跟进deepspeed和并行训练,后续应该会更新新的功能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants