BERT-pytorch icon indicating copy to clipboard operation
BERT-pytorch copied to clipboard

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

Open wanghesong2019 opened this issue 2 years ago • 0 comments

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 avatar Jan 20 '23 13:01 wanghesong2019