huggingface / huggingface/course

Fine-tuning a model with the Trainer API or Keras Colab Failing

Open
#592 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Description

At the step `training_args = TrainingArguments("test-trainer")` the colab fails and asks to run pip install accelerate.

I found adding !pip install accelerate in the install function doesn't work, I think an incorrect version of accelerate is getting installed. I fixed by restarting the colab instance and changing the install line to `!pip install datasets accelerate evaluate transformers[sentencepiece]
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.