Getting following error for ImportError: cannot import name 'BasicModelRunner' from 'llama' (/Users/x/Downloads/llama-main/llama/

When creating a post, please add:

  • Week # must be added in the tags option of the post.
  • Link to the classroom item you are referring to:
  • Description (include relevant info but please do not post solution code or your entire notebook):
    1. Project 1
  1. [Finetuning Large Language Models]
  2. while trying to work with course example at macos getting following error-
  3. ImportError: cannot import name ‘BasicModelRunner’ from ‘llama’ (/Users/x/Downloads/llama-main/llama/
  4. initially faced error while installing the llama also but used python3.9 and numpy 1.26.4
  5. could you please provide your insight for fixing the issue.

Can you share a screenshot of the error here