From llama import BasicModelRunner is Not working

Dears
from llama import BasicModelRunner is Not working
i used this pip command and restart the kernel with no hope
I am running all the code on my local disk; and trying to download every need models and datasets on local diskk and save the model on my disk
Regards,
Omran

Hi @omran !

Could you please provide more specific details regarding the error? Is there an accompanying error message?

The code in that course is outdated, I’m afraid. You will need to use

from lamini import Lamini

non_finetuned = Lamini("meta-llama/Llama-2-7b-hf")
non_finetuned.generate("Tell me how to train my dog to sit")
1 Like

I need API?