Running labs on local machines

I am looking to run the labs on my local machine an have update my Python environment (Anaconda Jupyter notebooks) with the various new libraries (ie transformers) but unclear on how to get the models on my machine. I am assuming the models will be local as well (assuming I have a big enough laptop to run them).

Please correct me if I am wrong and any insight on how to run them locally.

1 Like

You can remove the reference to ./models/ and it will download from huggingface

pipe = pipeline("image-to-text",

# pipe = pipeline("image-to-text",
#                 model="./models/Salesforce/blip-image-captioning-base")