liuhaotian/LLaVA-CC3M-Pretrain-595K
Preview • Updated • 481 • 179
How to use aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain") # Load model directly
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain", device_map="auto")How to use aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain
How to use aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain with Docker Model Runner:
docker model run hf.co/aimagelab/LLaVA_MORE-llama_3_1-8B-siglip-pretrain
LLaVA-MORE enhances the well-known LLaVA architecture by integrating the use of LLaMA 3.1 as the language model. We are publicly releasing the checkpoints for stages one and two for the first model with 8B parameters.
In this model space, you will find the stage one (pretrain) weights of LLaVA-MORE LLaMA 3.1 8B.
For more information, visit our LLaVA-MORE repository.
If you make use of our work, please cite our repo:
@article{cocchi2025llava,
title={{LLaVA-MORE: A Comparative Study of LLMs and Visual Backbones for Enhanced Visual Instruction Tuning}},
author={Cocchi, Federico and Moratelli, Nicholas and Caffagni, Davide and Sarto, Sara and Baraldi, Lorenzo and Cornia, Marcella and Cucchiara, Rita},
journal={arXiv preprint arXiv:2503.15621},
year={2025}
}