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

debug BERT-pytorch\bert_pytorch\model\embedding\position.py #101

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

wanghesong2019
Copy link

change position.py file to debug the case : pe[:, 1::2].size(-1) is less than div_term.size(-1) when d_model is an odd number

wanghesong2019 and others added 27 commits January 20, 2023 21:02
debug bert_pytorch/dataset/vocab.py WordVocab line 130 line.repleace()
为bert_pytorch/model/embedding下的3种embedding添加注释
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 this pull request may close these issues.

None yet

1 participant