BERT-pytorch
BERT-pytorch copied to clipboard
debug BERT-pytorch\bert_pytorch\model\embedding\position.py
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