FINE TUNING LLMs - How to import BasicModelRunner in colab

Not able to run this command in google collab “from llama import BasicModelRunner” it generates an error “cannot import name ‘BasicModelRunner’ from ‘llama’ (/usr/local/lib/python3.10/dist-packages/llama/”
Please advise how to import BasicModelRunner


!pip install --upgrade --force-reinstall --ignore-installed lamini

Try this first and don’t forget to restart the runtime before you import.

1 Like

Thanks Saurav I missed that was the required dependency.

I wish there was a commented hint like #!pip install on top of the notebooks… or a dependency file