Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/source/en/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@ pip install transformers
For CPU-support only, you can conveniently install 🤗 Transformers and a deep learning library in one line. For example, install 🤗 Transformers and PyTorch with:

```bash
pip install transformers[torch]
pip install 'transformers[torch]'
```

🤗 Transformers and TensorFlow 2.0:

```bash
pip install transformers[tf-cpu]
pip install 'transformers[tf-cpu]'
```

🤗 Transformers and Flax:

```bash
pip install transformers[flax]
pip install 'transformers[flax]'
```

Finally, check if 🤗 Transformers has been properly installed by running the following command. It will download a pretrained model:
Expand Down Expand Up @@ -237,4 +237,4 @@ Once your file is downloaded and locally cached, specify it's local path to load

See the [How to download files from the Hub](https://huggingface.co/docs/hub/how-to-downstream) section for more details on downloading files stored on the Hub.

</Tip>
</Tip>