Error on trainer = L.Trainer(max_epochs=2000)

Hi, I have download the “Jupyter Notebook for Long Short-Term Memory with PyTorch + Lightning” and tried to run “statquest_lstm_with_pytorch_and_lightning.ipynb”.
But when I reach the line bellow:
trainer = L.Trainer(max_epochs=2000) # with default learning rate, 0.001 (this tiny learning rate makes learning slow)

The model is not created and I receive a message:
Trainer.fit stopped: max_epochs=2000 reached.

What can I do to solve this problem?