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

oov problem in training #12

Closed
YFwang1992 opened this issue Dec 12, 2018 · 1 comment
Closed

oov problem in training #12

YFwang1992 opened this issue Dec 12, 2018 · 1 comment

Comments

@YFwang1992
Copy link

Hi
i want to retrain the model in douban dataset
but i got oov error
my gpu is Tesla M40(11448MiB)
mem free 141G
anything i can do except change batch_size?

@YFwang1992 YFwang1992 changed the title oov promblem in training oov problem in training Dec 12, 2018
@xyzhou-puck
Copy link
Collaborator

Hi,

You can save your memory by using float16 instead of float32, put different variables on different GPUs, or reduce the number of self-attention-layers. Also, you can consider using Baidu Yun, there may be some discounts for new users.

Xiangyang

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