pytorch + bert

1.python 安装pytorch 没有CUDA

https://www.lfd.uci.edu/~gohlke/pythonlibs/

pip install torch-1.6.0-cp38-cp38-win_amd64.whl

2.安装

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple(清华源)

anaconda powershell prompt

pip install pytorch-pretrained-bert

你可能感兴趣的:(pytorch,bert,深度学习)