Error to import transformers[torch] or accelerate -U
Hi, I run my code in G colab. When I use TrainingArguments, it shows“ImportError: Using theTrainerwithPyTorchrequiresaccelerate>=0.21.0: Please runpip install transformers[torch]orpip install accelerate -U”.After installation, I tried to import them using syntax belowimport transformers[torch]import accelerate -UThe error message below popped up. Do someone know how to fix it? Thanks!Screenshot 2024-04-24 224356934×441 22 KB