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

Comments

@joshuia
Copy link

commented Mar 6, 2019

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

@kuke

This comment has been minimized.

Copy link
Collaborator

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
Projects
None yet
2 participants
You can’t perform that action at this time.