方法一:colab安装(需要科学上网)
安装transformers:!pip install transformers
判断是否安装成功:import transformers
安装全量的transformes
!pip install transformers[sentencepiece]方法二:本地创建虚拟环境
参考来源:https://huggingface.co/learn/nlp-course/zh-CN/chapter0/1?fw=pt
方法一:colab安装(需要科学上网)
安装transformers:!pip install transformers
判断是否安装成功:import transformers
安装全量的transformes
!pip install transformers[sentencepiece]方法二:本地创建虚拟环境
参考来源:https://huggingface.co/learn/nlp-course/zh-CN/chapter0/1?fw=pt
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。