Unverified Commit 5d36025c authored by Kevin Herro's avatar Kevin Herro Committed by GitHub
Browse files

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
parent 35e9d2b2
...@@ -269,14 +269,14 @@ If you'd like to play with the examples or need the bleeding edge of the code an ...@@ -269,14 +269,14 @@ If you'd like to play with the examples or need the bleeding edge of the code an
### With conda ### With conda
Since Transformers version v4.0.0, we now have a conda channel: `huggingface`.
🤗 Transformers can be installed using conda as follows: 🤗 Transformers can be installed using conda as follows:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_NOTE:_** Installing `transformers` from the `huggingface` channel is deprecated.
Follow the installation pages of Flax, PyTorch or TensorFlow to see how to install them with conda. Follow the installation pages of Flax, PyTorch or TensorFlow to see how to install them with conda.
> **_NOTE:_** On Windows, you may be prompted to activate Developer Mode in order to benefit from caching. If this is not an option for you, please let us know in [this issue](https://github.com/huggingface/huggingface_hub/issues/1062). > **_NOTE:_** On Windows, you may be prompted to activate Developer Mode in order to benefit from caching. If this is not an option for you, please let us know in [this issue](https://github.com/huggingface/huggingface_hub/issues/1062).
......
...@@ -244,14 +244,14 @@ Si deseas jugar con los ejemplos o necesitas la última versión del código y n ...@@ -244,14 +244,14 @@ Si deseas jugar con los ejemplos o necesitas la última versión del código y n
### Con conda ### Con conda
Desde la versión v4.0.0 de Transformers, ahora tenemos un canal conda: `huggingface`.
🤗 Transformers se puede instalar usando conda de la siguiente manera: 🤗 Transformers se puede instalar usando conda de la siguiente manera:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_NOTA:_** Instalar `transformers` desde el canal `huggingface` está obsoleto.
Sigue las páginas de instalación de Flax, PyTorch o TensorFlow para ver cómo instalarlos con conda. Sigue las páginas de instalación de Flax, PyTorch o TensorFlow para ver cómo instalarlos con conda.
> **_NOTA:_** En Windows, es posible que se le pida que active el modo de desarrollador para beneficiarse del almacenamiento en caché. Si esta no es una opción para usted, háganoslo saber en [esta issue](https://github.com/huggingface/huggingface_hub/issues/1062). > **_NOTA:_** En Windows, es posible que se le pida que active el modo de desarrollador para beneficiarse del almacenamiento en caché. Si esta no es una opción para usted, háganoslo saber en [esta issue](https://github.com/huggingface/huggingface_hub/issues/1062).
......
...@@ -221,14 +221,14 @@ pip install transformers ...@@ -221,14 +221,14 @@ pip install transformers
### कोंडा का उपयोग करना ### कोंडा का उपयोग करना
ट्रांसफॉर्मर संस्करण 4.0.0 के बाद से, हमारे पास एक कोंडा चैनल है: `हगिंगफेस`
ट्रांसफॉर्मर कोंडा के माध्यम से निम्नानुसार स्थापित किया जा सकता है: ट्रांसफॉर्मर कोंडा के माध्यम से निम्नानुसार स्थापित किया जा सकता है:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_नोट:_** `huggingface` चैनल से `transformers` इंस्टॉल करना पुराना पड़ चुका है।
कोंडा के माध्यम से Flax, PyTorch, या TensorFlow में से किसी एक को स्थापित करने के लिए, निर्देशों के लिए उनके संबंधित स्थापना पृष्ठ देखें। कोंडा के माध्यम से Flax, PyTorch, या TensorFlow में से किसी एक को स्थापित करने के लिए, निर्देशों के लिए उनके संबंधित स्थापना पृष्ठ देखें।
## मॉडल आर्किटेक्चर ## मॉडल आर्किटेक्चर
......
...@@ -278,14 +278,14 @@ pip install transformers ...@@ -278,14 +278,14 @@ pip install transformers
### condaにて ### condaにて
Transformersバージョン4.0.0から、condaチャンネルを搭載しました: `huggingface`
🤗Transformersは以下のようにcondaを使って設置することができます: 🤗Transformersは以下のようにcondaを使って設置することができます:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_注意:_** `huggingface` チャンネルから `transformers` をインストールすることは非推奨です。
Flax、PyTorch、TensorFlowをcondaでインストールする方法は、それぞれのインストールページに従ってください。 Flax、PyTorch、TensorFlowをcondaでインストールする方法は、それぞれのインストールページに従ってください。
> **_注意:_** Windowsでは、キャッシュの恩恵を受けるために、デベロッパーモードを有効にするよう促されることがあります。このような場合は、[このissue](https://github.com/huggingface/huggingface_hub/issues/1062)でお知らせください。 > **_注意:_** Windowsでは、キャッシュの恩恵を受けるために、デベロッパーモードを有効にするよう促されることがあります。このような場合は、[このissue](https://github.com/huggingface/huggingface_hub/issues/1062)でお知らせください。
......
...@@ -195,14 +195,14 @@ pip install transformers ...@@ -195,14 +195,14 @@ pip install transformers
### conda로 설치하기 ### conda로 설치하기
Transformers 버전 v4.0.0부터, conda 채널이 생겼습니다: `huggingface`.
🤗 Transformers는 다음과 같이 conda로 설치할 수 있습니다: 🤗 Transformers는 다음과 같이 conda로 설치할 수 있습니다:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_노트:_** `huggingface` 채널에서 `transformers`를 설치하는 것은 사용이 중단되었습니다.
Flax, PyTorch, TensorFlow 설치 페이지에서 이들을 conda로 설치하는 방법을 확인하세요. Flax, PyTorch, TensorFlow 설치 페이지에서 이들을 conda로 설치하는 방법을 확인하세요.
## 모델 구조 ## 모델 구조
......
...@@ -276,14 +276,14 @@ Se você deseja experimentar com os exemplos ou precisa da versão mais recente ...@@ -276,14 +276,14 @@ Se você deseja experimentar com os exemplos ou precisa da versão mais recente
### Com conda ### Com conda
Desde a versão v4.0.0 do Transformers, agora temos um canal conda: `huggingface`.
O 🤗 Transformers pode ser instalado com conda da seguinte forma: O 🤗 Transformers pode ser instalado com conda da seguinte forma:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_NOTA:_** Instalar `transformers` pelo canal `huggingface` está obsoleto.
Siga as páginas de instalação do Flax, PyTorch ou TensorFlow para ver como instalá-los com conda. Siga as páginas de instalação do Flax, PyTorch ou TensorFlow para ver como instalá-los com conda.
Siga as páginas de instalação do Flax, PyTorch ou TensorFlow para ver como instalá-los com o conda. Siga as páginas de instalação do Flax, PyTorch ou TensorFlow para ver como instalá-los com o conda.
......
...@@ -267,14 +267,14 @@ pip install transformers ...@@ -267,14 +267,14 @@ pip install transformers
### С помощью conda ### С помощью conda
Начиная с версии Transformers v4.0.0, у нас появилсась поддержка conda: `huggingface`.
Установить Transformers с помощью conda можно следующим образом: Установить Transformers с помощью conda можно следующим образом:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_ЗАМЕТКА:_** Установка `transformers` через канал `huggingface` устарела.
О том, как установить Flax, PyTorch или TensorFlow с помощью conda, читайте на страницах, посвященных их установке. О том, как установить Flax, PyTorch или TensorFlow с помощью conda, читайте на страницах, посвященных их установке.
> **_ЗАМЕТКА:_** В операционной системе Windows вам может быть предложено активировать режим разработчика, чтобы воспользоваться преимуществами кэширования. Если для вас это невозможно, сообщите нам об этом [здесь](https://github.com/huggingface/huggingface_hub/issues/1062). > **_ЗАМЕТКА:_** В операционной системе Windows вам может быть предложено активировать режим разработчика, чтобы воспользоваться преимуществами кэширования. Если для вас это невозможно, сообщите нам об этом [здесь](https://github.com/huggingface/huggingface_hub/issues/1062).
......
...@@ -270,14 +270,14 @@ pip install transformers ...@@ -270,14 +270,14 @@ pip install transformers
### కొండా తో ### కొండా తో
ట్రాన్స్‌ఫార్మర్స్ వెర్షన్ v4.0.0 నుండి, మేము ఇప్పుడు కొండా ఛానెల్‌ని కలిగి ఉన్నాము: `huggingface`.
🤗 కింది విధంగా కొండా ఉపయోగించి ట్రాన్స్‌ఫార్మర్‌లను ఇన్‌స్టాల్ చేయవచ్చు: 🤗 కింది విధంగా కొండా ఉపయోగించి ట్రాన్స్‌ఫార్మర్‌లను ఇన్‌స్టాల్ చేయవచ్చు:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_గమనిక:_** `huggingface` ఛానెల్ నుండి `transformers` ఇన్‌స్టాల్ చేయడం పురాతనంగా ఉంది.
Flax, PyTorch లేదా TensorFlow యొక్క ఇన్‌స్టాలేషన్ పేజీలను కొండాతో ఎలా ఇన్‌స్టాల్ చేయాలో చూడటానికి వాటిని అనుసరించండి. Flax, PyTorch లేదా TensorFlow యొక్క ఇన్‌స్టాలేషన్ పేజీలను కొండాతో ఎలా ఇన్‌స్టాల్ చేయాలో చూడటానికి వాటిని అనుసరించండి.
> **_గమనిక:_** Windowsలో, కాషింగ్ నుండి ప్రయోజనం పొందేందుకు మీరు డెవలపర్ మోడ్‌ని సక్రియం చేయమని ప్రాంప్ట్ చేయబడవచ్చు. ఇది మీకు ఎంపిక కాకపోతే, దయచేసి [ఈ సంచిక](https://github.com/huggingface/huggingface_hub/issues/1062)లో మాకు తెలియజేయండి. > **_గమనిక:_** Windowsలో, కాషింగ్ నుండి ప్రయోజనం పొందేందుకు మీరు డెవలపర్ మోడ్‌ని సక్రియం చేయమని ప్రాంప్ట్ చేయబడవచ్చు. ఇది మీకు ఎంపిక కాకపోతే, దయచేసి [ఈ సంచిక](https://github.com/huggingface/huggingface_hub/issues/1062)లో మాకు తెలియజేయండి.
......
...@@ -219,14 +219,14 @@ pip install transformers ...@@ -219,14 +219,14 @@ pip install transformers
### 使用 conda ### 使用 conda
自 Transformers 4.0.0 版始,我们有了一个 conda 频道: `huggingface`
🤗 Transformers 可以通过 conda 依此安装: 🤗 Transformers 可以通过 conda 依此安装:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_笔记:_** 从 `huggingface` 渠道安装 `transformers` 已被废弃。
要通过 conda 安装 Flax、PyTorch 或 TensorFlow 其中之一,请参阅它们各自安装页的说明。 要通过 conda 安装 Flax、PyTorch 或 TensorFlow 其中之一,请参阅它们各自安装页的说明。
## 模型架构 ## 模型架构
......
...@@ -231,14 +231,14 @@ pip install transformers ...@@ -231,14 +231,14 @@ pip install transformers
### 使用 conda ### 使用 conda
自 Transformers 4.0.0 版始,我們有了一個 conda channel: `huggingface`
🤗 Transformers 可以藉由 conda 依此安裝: 🤗 Transformers 可以藉由 conda 依此安裝:
```shell script ```shell script
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
> **_筆記:_** 從 `huggingface` 頻道安裝 `transformers` 已被淘汰。
要藉由 conda 安裝 Flax、PyTorch 或 TensorFlow 其中之一,請參閱它們各自安裝頁面的說明。 要藉由 conda 安裝 Flax、PyTorch 或 TensorFlow 其中之一,請參閱它們各自安裝頁面的說明。
## 模型架構 ## 模型架構
......
...@@ -139,10 +139,10 @@ Ihre Python-Umgebung wird beim nächsten Ausführen die `main`-Version von 🤗 ...@@ -139,10 +139,10 @@ Ihre Python-Umgebung wird beim nächsten Ausführen die `main`-Version von 🤗
## Installation mit conda ## Installation mit conda
Installation von dem conda Kanal `huggingface`: Installation von dem conda Kanal `conda-forge`:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Cache Einrichtung ## Cache Einrichtung
......
...@@ -147,10 +147,10 @@ Your Python environment will find the `main` version of 🤗 Transformers on the ...@@ -147,10 +147,10 @@ Your Python environment will find the `main` version of 🤗 Transformers on the
## Install with conda ## Install with conda
Install from the conda channel `huggingface`: Install from the conda channel `conda-forge`:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Cache setup ## Cache setup
......
...@@ -131,10 +131,10 @@ El entorno de Python que creaste para la instalación de 🤗 Transformers encon ...@@ -131,10 +131,10 @@ El entorno de Python que creaste para la instalación de 🤗 Transformers encon
## Instalación con conda ## Instalación con conda
Puedes instalar 🤗 Transformers desde el canal de conda `huggingface` con el siguiente comando: Puedes instalar 🤗 Transformers desde el canal de conda `conda-forge` con el siguiente comando:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Configuración de Caché ## Configuración de Caché
......
...@@ -149,10 +149,10 @@ Votre environnement Python utilisera la version de la branche `main` lors de la ...@@ -149,10 +149,10 @@ Votre environnement Python utilisera la version de la branche `main` lors de la
## Installation avec conda ## Installation avec conda
Installation via le canal `huggingface` de conda : Installation via le canal `conda-forge` de conda :
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Configuration du cache ## Configuration du cache
......
...@@ -130,10 +130,10 @@ Il tuo ambiente Python troverà la versione `main` di 🤗 Transformers alla pro ...@@ -130,10 +130,10 @@ Il tuo ambiente Python troverà la versione `main` di 🤗 Transformers alla pro
## Installazione con conda ## Installazione con conda
Installazione dal canale conda `huggingface`: Installazione dal canale conda `conda-forge`:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Impostazione della cache ## Impostazione della cache
......
...@@ -135,10 +135,10 @@ Python環境は次回の実行時に🤗 Transformersの`main`バージョンを ...@@ -135,10 +135,10 @@ Python環境は次回の実行時に🤗 Transformersの`main`バージョンを
## condaでのインストール ## condaでのインストール
`huggingface`のcondaチャンネルからインストールします: `conda-forge`のcondaチャンネルからインストールします:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## キャッシュの設定 ## キャッシュの設定
......
...@@ -135,10 +135,10 @@ Python 환경을 다시 실행하면 업데이트된 🤗 Transformers의 `main` ...@@ -135,10 +135,10 @@ Python 환경을 다시 실행하면 업데이트된 🤗 Transformers의 `main`
## conda로 설치하기[[install-with-conda]] ## conda로 설치하기[[install-with-conda]]
`huggingface` conda 채널에서 설치할 수 있습니다. `conda-forge` conda 채널에서 설치할 수 있습니다.
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## 캐시 구성하기[[cache-setup]] ## 캐시 구성하기[[cache-setup]]
......
...@@ -144,10 +144,10 @@ O ambiente de Python que foi criado para a instalação do 🤗 Transformers enc ...@@ -144,10 +144,10 @@ O ambiente de Python que foi criado para a instalação do 🤗 Transformers enc
## Instalação usando o Conda ## Instalação usando o Conda
É possível instalar o 🤗 Transformers a partir do canal conda `huggingface` com o seguinte comando: É possível instalar o 🤗 Transformers a partir do canal conda `conda-forge` com o seguinte comando:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## Configuração do Cachê ## Configuração do Cachê
......
...@@ -147,10 +147,10 @@ git pull ...@@ -147,10 +147,10 @@ git pull
## 使用 conda 安装 ## 使用 conda 安装
从 conda 的 `huggingface` 频道安装: 从 conda 的 `conda-forge` 频道安装:
```bash ```bash
conda install -c huggingface transformers conda install conda-forge::transformers
``` ```
## 缓存设置 ## 缓存设置
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment