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

如何使用模型进行调参? #21

Open
FrankKirin opened this issue Dec 12, 2020 · 1 comment
Open

如何使用模型进行调参? #21

FrankKirin opened this issue Dec 12, 2020 · 1 comment

Comments

@FrankKirin
Copy link

FrankKirin commented Dec 12, 2020

目前我知道的是要在config包中进行配置,但是只能一次一次修改参数?
还注意到参数中vocab_size,user_num, item_num加2,请问是什么作用?

@ShomyLiu
Copy link
Owner

1 . 调参这个目前没有写grid search , 需要手动修改,比如写一个脚本,多跑几组即可,比如:

python3 main.py train --model='DeepCoNN' --filter_num=100 ...
python3 main.py train --model='DeepCoNN' --filter_num=200 ...
python3 main.py train --model='DeepCoNN' --filter_num=300 ...
  1. +2 是为了防止越界

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