Closed Alex-Ruan closed 3 months ago
pip install transformers==4.43.3
ImportError: cannot import name 'unwrap_model' from 'transformers.trainer' (/opt/conda/lib/python3.10/site-packages/transformers/trainer.py)
Which version should I install? Is there a requirement.txt?
I find: dlrover-master\examples\pytorch\llama2\requirements.txt
tranformers version I installed:
pip install transformers==4.43.3
Problem
Question
Which version should I install? Is there a requirement.txt?