huggingface / huggingface/course
Using the `Trainer` with `PyTorch` requires `accelerate>=0.20.1`
Open
translation
- Dominant language
- MDX
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 13m
- Merged PRs (30d)
- 1
Description
In Chapter 3, the fine-tuning that needs to be used is !pip install datasets evaluate transformers[sentencepiece]
! pip install accelerate==0.21.0
! pip install transformers==4.30.1. To avoid getting an error: ImportError: Using the `Trainer` with `PyTorch` requires `accelerate>=0.20.1`: Please run `pip install transformers[torch]` or `pip install accelerate -U`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.