Kernel Restarting 2

When I tried “trainer.train()” in Lab_2_fine_tune_generative_ai_model.ipynb , I always got the message.

Kernel Restarting
The kernel for Lab_2_fine_tune_generative_ai_model.ipynb appears to have died. It will restart automatically.

How to fix it? Thank you.

Hi Muhmut. Please visit item 10 of this FAQ for instructions on how to check the instance type. Please make sure that what you select matches exactly what is on the screenshot in the notebook. Otherwise, the kernel will crash. Hope this helps.