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

参数设置 #13

Open
yefeiyeluo opened this issue Nov 19, 2020 · 3 comments
Open

参数设置 #13

yefeiyeluo opened this issue Nov 19, 2020 · 3 comments

Comments

@yefeiyeluo
Copy link

你好,我在MR上跑这个代码的时候准确率一直没有文中这么高,甚至刚过70,是参数设置的问题吗,可以请教一下如何设置吗?

@Magicat128
Copy link
Collaborator

@yefeiyeluo

你好,是默认参数才70吗,有做过什么改动吗?可能batch_size可以设大一些,hidden_size可以适当调小。

@yefeiyeluo
Copy link
Author

您好,首先感谢您的回复,然后我不认为batch_size会对性能有很大的影响,按照你的指点我进行了大量的试验,发现这两个参数对性能提升微乎其微,可能batch_size对训练时间影响很大等,大量试验过后我个人认为learning_rate、dropout和epochs对性能影响更大,但经过多次调整依旧不能达到理想的效果,最高的一次只能接近75%,最后请问是哪里出了问题,如果是参数问题,可以请教下更为合适的参数吗?谢谢。

@Magicat128
Copy link
Collaborator

@yefeiyeluo

使用预设的默认参数应该不至于差这么多,我在本地又重新运行了一下应该没有问题。方便发一下您的环境配置及运行日志吗,也可以发我邮箱[email protected]

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