graykode / graykode/nlp-tutorial

the writter's Transformer torch.py 's position embed has some mistake.

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
14.9k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

i fixed it in the following
https://github.com/zhangbo2008/nlp-tutorial/blob/master/2cpu_Input_myData.py
https://github.com/zhangbo2008/nlp-tutorial/blob/master/2gpu_Input_myData.py
if you find some mistake, please comment me

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.