Generative AI with Large Language Models Week#2 Lab 2 - taking forever to load the datasets, transformers, etc

When creating a post, please add:

  • Week # must be added in the tags option of the post. Week#2 Lab 2
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook):

The command to install the dataset is taking forever to execute in the lab.

Then install other packages except TRL

%pip install -U
datasets==2.17.0
transformers==4.38.2
accelerate==0.28.0
evaluate==0.4.0
rouge_score==0.1.2
peft==0.3.0 --quiet

Unable to progress to the rest of instructions in the notebook.

Closed the notebook and launching again solved the problem.

1 Like