Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

how to use local model weights #4

Open
zhenfenxiao opened this issue Dec 23, 2024 · 1 comment
Open

how to use local model weights #4

zhenfenxiao opened this issue Dec 23, 2024 · 1 comment

Comments

@zhenfenxiao
Copy link

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?

@yu-rp
Copy link
Owner

yu-rp commented Dec 24, 2024

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants