Huggingface NLP Course Notes 1 : 安装
文章目录
方法一:colab安装(需要科学上网)
安装transformers:!pip install transformers
判断是否安装成功:import transformers
安装全量的transformes
!pip install transformers[sentencepiece]方法二:本地创建虚拟环境
参考来源:https://huggingface.co/learn/nlp-course/zh-CN/chapter0/1?fw=pt

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论