Comments (3)
I have the same question...
from llava.
You can use the load_pretrained_model
function. Check here.
You need to:
- pass a model-base argument, which is the base language model you used for your llava model.
- 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.
from llava.
Is it possible to use the pretrained checkpoints with SGLang?
from llava.
Related Issues (20)
- [Question] 4-bit Pretraining
- [Question] FT use 1.5 face a issue that tensor mismatch
- [Question] How to evaluate pretraining[image-text alignment] performance?
- [Question] Convert saved LLaVA checkpoint to SGLang HOT 4
- [Question] How to batch inference? HOT 1
- Pre-training with MPT-7B went well but fine-tuning it further gives garbled/random outputs
- [Usage] None of the inputs have requires_grad=True. Gradients will be None HOT 1
- [Usage] Vicuna v1.5 is not downloaded automatically
- Raw image URL from GitHub
- Question about multiple images in the same prompt
- where is mm_vision_tower
- [Usage] Deepspeed Zero Stage 3 not able to shard the model
- [Usage] Extremely Slow Inference Speed
- [ERROR]: RuntimeError: "addmm_impl_cpu_" not implemented for 'Half' HOT 1
- [Question] How to extract embeddings from llava?
- [Usage] Must I reload the model when I want to inference on a new image?
- 同样的需求,可以分享下思路吗?
- [Question] pretrain_mm_mlp_adapter of llava v1.6 7B not found HOT 1
- [Usage] errors when restore checkpoint using lora finetuning HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llava.