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

BERT模型train.py估算memory问题 #4

Closed
joshuia opened this issue Mar 6, 2019 · 1 comment · Fixed by #5
Closed

BERT模型train.py估算memory问题 #4

joshuia opened this issue Mar 6, 2019 · 1 comment · Fixed by #5

Comments

@joshuia
Copy link

joshuia commented Mar 6, 2019

image
BERT模型,发现在估算memory use的时候,batch_size做了处理,为什么要这样做呢?我理解这两者似乎不相关?

@kuke
Copy link

kuke commented Mar 6, 2019

@joshuia 这里的batch size是tokens总数

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

Successfully merging a pull request may close this issue.

2 participants