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

@@ -135,10 +135,10 @@ Python環境は次回の実行時に🤗 Transformersの`main`バージョンを
## condaでのインストール
`huggingface`のcondaチャンネルからインストールします:
`conda-forge`のcondaチャンネルからインストールします:
```bash
conda install -c huggingface transformers
conda install conda-forge::transformers
```
## キャッシュの設定
@@ -241,4 +241,4 @@ python examples/pytorch/translation/run_translation.py --model_name_or_path t5-s
Hubに保存されているファイルをダウンロードする方法の詳細については、[How to download files from the Hub](https://huggingface.co/docs/hub/how-to-downstream)セクションを参照してください。
</Tip>
</Tip>