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 Users
You will need to install the following before installing TensorFLow 2.0
```
brew install cmake
@@ -147,10 +147,10 @@ Your Python environment will find the `main` version of 🤗 Transformers on the
## Install with conda
Install from the conda channel `huggingface`:
Install from the conda channel `conda-forge`:
```bash
conda install -c huggingface transformers
conda install conda-forge::transformers
```
## Cache setup