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

[Question] How to use the pretrain checkpoint #1469

Open
hellangleZ opened this issue Apr 29, 2024 · 3 comments
Open

[Question] How to use the pretrain checkpoint #1469

hellangleZ opened this issue Apr 29, 2024 · 3 comments

Comments

@hellangleZ
Copy link

Question

I only found that there are some file like:

image

How can I merge them to base model , or something I should do, any help is very appreciated

@feizhao19
Copy link

I have the same question...

@baichuanzhou
Copy link

You can use the load_pretrained_model function. Check here.

You need to:

  1. pass a model-base argument, which is the base language model you used for your llava model.
  2. pass a model-path argument, which is where your pretrained weights' folder is.

This way, you can load the pretrained weight into a base llava model.

@lukashelff
Copy link

Is it possible to use the pretrained checkpoints with SGLang?

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

4 participants