Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How to loading local model #32

Open
mingyang-wang26 opened this issue Sep 10, 2024 · 1 comment
Open

How to loading local model #32

mingyang-wang26 opened this issue Sep 10, 2024 · 1 comment

Comments

@mingyang-wang26
Copy link

Hi,

Thank you for your excellent work!

I'm facing some issues while loading my fine-tuned GPT2-XL model locally. I referred to #28, but I'm still unclear on how to configure the local.json file properly.

For the GPT2-XL model, I understand there should be an entry like "gpt2-xl": null in the JSON file. How can I modify this to point to my local model?

In #28, it mentions passing two strings—model_name and supported_model_name. Could you clarify where I should pass these strings?

Thank you for your help!

@himanshubeniwal
Copy link

+1, I am also unable to figure out which strings to update. I completely changed my code, but it seems I am missing something.

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

No branches or pull requests

2 participants