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 Load Model from pytorch_model.bin into Trained Model for Text Generation? #1254

Open
lieh1203 opened this issue Jul 15, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@lieh1203
Copy link

Hello,

I've recently trained a model using GPT-NeoX and packed the checkpoint global_step1000 into a pytorch_model.bin file using the zero_to_fp32.py script. However, I'm having trouble figuring out how to load this file into the trained model for text generation.

I have reviewed the GPT-NeoX documentation and code, but I still don't understand the specific steps required. Any example code or detailed instructions would be greatly appreciated.

Thank you very much!

@lieh1203 lieh1203 added the feature request New feature or request label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant