apiprompting icon indicating copy to clipboard operation
apiprompting copied to clipboard

how to use local model weights

Open zhenfenxiao opened this issue 1 year ago • 1 comments

Hi, I download the weight of ViT-L-14-336 from huggingface but have no idea on how to use this local weight to initialize the model in the code. Could you please give some illustration?

zhenfenxiao avatar Dec 23 '24 02:12 zhenfenxiao

Hi @zhenfenxiao Thank you for your issue.

Actually, you do not need to download the model manually. Using the model_name parameter directly can control which model will be used.

yu-rp avatar Dec 24 '24 11:12 yu-rp