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

@@ -49,7 +49,7 @@ Windows의 경우:
.env/Scripts/activate
```
이제 🤗 Transformers를 설치할 준비가 되었습니다. 다음 명령을 입력해주세요.
이제 🤗 Transformers를 설치할 준비가 되었습니다. 다음 명령을 입력해주세요.
```bash
pip install transformers
@@ -135,10 +135,10 @@ Python 환경을 다시 실행하면 업데이트된 🤗 Transformers의 `main`
## conda로 설치하기[[install-with-conda]]
`huggingface` conda 채널에서 설치할 수 있습니다.
`conda-forge` conda 채널에서 설치할 수 있습니다.
```bash
conda install -c huggingface transformers
conda install conda-forge::transformers
```
## 캐시 구성하기[[cache-setup]]
@@ -242,4 +242,4 @@ Another option for using 🤗 Transformers offline is to download the files ahea
Hub에 저장된 파일을 다운로드하는 방법을 더 자세히 알아보려면 [Hub에서 파일 다운로드하기](https://huggingface.co/docs/hub/how-to-downstream) 섹션을 참고해주세요.
</Tip>
</Tip>