This commit is contained in:
erenup 2021-08-14 11:52:12 +08:00
parent 88a5a126bf
commit b1b7a56fd1
1 changed files with 4 additions and 1 deletions

View File

@ -30,4 +30,7 @@ pip install -r requirements.txt
![](./pictures/jupyter.png)
6. 鼠标放置在代码框上左边会有一个▶符号点击即可运行运行时会提示选择运行使用的python请选择步骤4`which python`所指向的python路径。
![](./pictures/run-code.png)
7. 如果提示部分python包不存在比如transformers在Terminal终端通过`pip install transformers`即可。
7. 如果提示部分python包不存在比如transformers在Terminal终端通过`pip install transformers`即可。
## 上传到google colab打开
本教程也可以在google colab打开可以使用其免费的cpu和gpu资源自己直接将代码库中ipynb结尾的文件上传到google drive中然后双击打开即可。