A compact yet competitive open-source vision-language model trained from scratch on a single RTX 4090.
This is a ~1B parameter model that performs on par with the original LLaVA-1.5-7B,
making it a serious candidate for visual question answering tasks—both for everyday users and researchers focused on efficient multimodal architectures.
It is also well suited for Edge AI applications, such as on-device visual question answering, thanks to its small size and fast inference performance.
📌 Model Summary
keeeeenw/MicroLLaVA-Qwen3-0.6B-base-siglip2-so400m combines the strengths of:
12# Tested with transformers: 4.55.2, torch: 2.8.0, and torchvision: 0.23.03# Older versions of the transformers do not support qwen3 model.4# pip install transformers torch torchvision56from transformers import AutoTokenizer, AutoModelForCausalLM
78hf_path ='keeeeenw/MicroLlava-Qwen3-0.6B-base-siglip2-so400m'9model = AutoModelForCausalLM.from_pretrained(hf_path, trust_remote_code=True)10# model.cuda() # if no cuda is used, it takes ~78 seconds inference on my AMD 5950 CPU. 11config = model.config
12tokenizer = AutoTokenizer.from_pretrained(hf_path, use_fast=False, model_max_length = config.tokenizer_model_max_length,padding_side = config.tokenizer_padding_side)1314prompt="What are the things I should be cautious about when I visit here?"15image_url="https://llava-vl.github.io/static/images/view.jpg"16output_text, genertaion_time = model.chat(prompt=prompt,17 image=image_url,18 tokenizer=tokenizer)1920print('model output:', output_text)21print('runing time:', genertaion_time)22
Prompt:
🧠 "What are the things I should be cautious about when I visit here?"
Image:
example image
Model Output:
When visiting this wooden pier on the lake, there are a few things to be cautious about. First, be aware of the water depth, as the water may be shallow or choppy, which could pose a risk of falling into the water or getting caught in a strong current. Second, be mindful of the weather conditions, as the image shows a cloudy day, which might indicate the possibility of rain or strong winds. These conditions can make the experience more challenging and potentially dangerous. Lastly, be cautious about the presence of any wildlife in the area, as the lake and its surroundings may attract various animals. Always follow safety guidelines and be respectful of the natural environment when visiting this picturesque location.
⚙️ Performed hyperparameter tuning for optimal Qwen3 + SigLIP2 performance
🚀 Released standalone Hugging Face inference support—no need to install TinyLLaVA
📊 VQAv2 Evaluation (test-dev)
Question Type
Accuracy
Yes/No
91.56%
Number
65.69%
Other
70.28%
Overall
78.52%
Note: Evaluation was performed on the VQAv2 test-dev set. It is unclear whether prior models used test-dev or test set. This model is currently being evaluated on the full test set and other benchmarks.
🔜 Upcoming Work
This model is currently undergoing evaluation on:
VQAv2 test set
GQA
SQA
TextVQA
MM-VET
POPE
MME
MMMU
Stay tuned for updates!
🧾 Citation
If you find this model helpful, please consider citing or referencing this repo:
@misc{wang2024microllama,
title = {MicroLLaVA: a TinyLLaVA based VLM with MicroLlama 300M for single GPU training},
author = {Zixiao Ken Wang},
year = {2025},
url = {https://huggingface.co/keeeeenw/MicroLlava,https://huggingface.co/keeeeenw/MicroLlava-Qwen3-0.6B-base-siglip2-so400m}
}