当前位置:   article > 正文

搭建transformers环境_transormers 环境

transormers 环境

1 安装pytorch

跳转到pytorch的网站
pytorch安装配置页

conda install pytorch torchvision torchaudio cudatoolkit=10.1 -c pytorch
  • 1

2 安装 transformers

  1. pip 安装
pip install transfomers# 失败
  • 1
  1. 使用conda安装
conda install -c huggingface transformers
  • 1
  1. 使用git下载
git clone https://github.com
    本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
    推荐阅读
    相关标签
      

    闽ICP备14008679号