AutoModelForSequenceClassification requires the PyTorch library but it was not found in your environ

You need to install Pytorch first before import the HuggingFace Transformer.

Otherwise you'll have to restart the kernel

link

pytorch 安装官网地址:Start Locally | PyTorch An open source machine learning framework that accelerates the path from research prototyping to production deployment.https://pytorch.org/get-started/locally/

你可能感兴趣的:(bugs,python)