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:
Kevin Herro
2024-01-04 09:36:16 -08:00
committed by GitHub
parent 35e9d2b223
commit 5d36025ca1
19 changed files with 101 additions and 101 deletions

View File

@@ -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
```
## 缓存设置