how to use downloaded model in my local

#13
by karambos - opened
This comment has been hidden

model = AutoModelForVision2Seq.from_pretrained("microsoft/kosmos-2-patch14-224", cache_dir = ".cache/", device_map = "auto")
processor = AutoProcessor.from_pretrained("microsoft/kosmos-2-patch14-224", cache_dir = ".cache/")

if I run this code but the model is downloading in the local but model is already downloaded in my local already

My mistake actually i define the wrong path

karambos changed discussion status to closed

Sign up or log in to comment