README: install transformers from conda-forge channel (#28313)
Switch to the conda-forge channel for transformer installation, as the huggingface channel does not offer the latest version. Fixes #28248
This commit is contained in:
@@ -70,7 +70,7 @@ pip install 'transformers[tf-cpu]'
|
||||
<Tip warning={true}>
|
||||
|
||||
M1 / ARM用户
|
||||
|
||||
|
||||
在安装 TensorFlow 2.0 前,你需要安装以下库:
|
||||
```
|
||||
brew install cmake
|
||||
@@ -147,10 +147,10 @@ git pull
|
||||
|
||||
## 使用 conda 安装
|
||||
|
||||
从 conda 的 `huggingface` 频道安装:
|
||||
从 conda 的 `conda-forge` 频道安装:
|
||||
|
||||
```bash
|
||||
conda install -c huggingface transformers
|
||||
conda install conda-forge::transformers
|
||||
```
|
||||
|
||||
## 缓存设置
|
||||
|
||||
Reference in New Issue
Block a user