Update installs in image classification doc (#29947)

Trainer with PyTorch now requires accelerate to be installed.

Partly resolves huggingface/transformers#29174
This commit is contained in:
MariaHei
2024-03-28 21:26:27 +00:00
committed by GitHub
parent 536ea2aca2
commit ba56ed0869

View File

@@ -43,7 +43,7 @@ The task illustrated in this tutorial is supported by the following model archit
Before you begin, make sure you have all the necessary libraries installed: Before you begin, make sure you have all the necessary libraries installed:
```bash ```bash
pip install transformers datasets evaluate pip install transformers datasets evaluate accelerate
``` ```
We encourage you to log in to your Hugging Face account to upload and share your model with the community. When prompted, enter your token to log in: We encourage you to log in to your Hugging Face account to upload and share your model with the community. When prompted, enter your token to log in: