databricks-academy / large-language-models

Notebooks for Large Language Models (LLMs) Specialization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in 'LLM 01L - LLMs with Hugging Face Lab.py'

Keertiraj opened this issue · comments

I get the below error, when i run the code in Jupyter Notebook:

Adding the below line of code solved the problem:

pip install -U accelerate and restart the notebook

Here is the error discussion: https://github.com/huggingface/transformers/issues/23340

These notebooks are intended to be run solely in a Databricks environment. As such, I'll be closing this issue.