* ImportError: Trainer with PyTorch requires accelerate>=0.20.1 Fix Adding the evaluate and accelerate installs at the beginning of the cell to fix the issue * ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 * Import Error Fix * Update installation.md * Update quicktour.md * rollback other lang changes * Update _config.py * updates for other languages * fixing error * Tutorial Update * Update tokenization_utils_base.py * Just use an optimizer string to pass the doctest? --------- Co-authored-by: Matt <rocketknight1@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# docstyle-ignore
|
||||
INSTALL_CONTENT = """
|
||||
# Installation de Transformers
|
||||
! pip install transformers datasets
|
||||
! pip install transformers datasets evaluate accelerate
|
||||
# Pour installer à partir du code source au lieu de la dernière version, commentez la commande ci-dessus et décommentez la suivante.
|
||||
# ! pip install git+https://github.com/huggingface/transformers.git
|
||||
"""
|
||||
|
||||
@@ -23,7 +23,7 @@ Soyez opérationnel avec 🤗 Transformers ! Que vous soyez un développeur ou u
|
||||
Avant de commencer, assurez-vous que vous avez installé toutes les bibliothèques nécessaires :
|
||||
|
||||
```bash
|
||||
!pip install transformers datasets
|
||||
!pip install transformers datasets evaluate accelerate
|
||||
```
|
||||
|
||||
Vous aurez aussi besoin d'installer votre bibliothèque d'apprentissage profond favorite :
|
||||
|
||||
Reference in New Issue
Block a user