MicroLlava
22
5
384.0B
1 language
license:apache-2.0
by
keeeeenw
Language Model
OTHER
384B params
New
22 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
859GB+ RAM
Mobile
Laptop
Server
Quick Summary
A compact vision language model that you can pretrain and finetune on a single consumer GPU.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
358GB+ RAM
Code Examples
🚀 Quick startpythontransformers
from transformers import AutoTokenizer, AutoProcessor, AutoModelForCausalLM
import torch
repo_id = "keeeeenw/MicroLlava"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
# If processor config is available
try:
processor = AutoProcessor.from_pretrained(repo_id)
except Exception:
processor = None # Optional if images are preprocessed manually
model = AutoModelForCausalLM.from_pretrained(
repo_id,
torch_dtype=torch.float16,
device_map="auto",
trust_remote_code=True # Set to True if repo includes custom code
)
inputs = tokenizer("Describe the image in one sentence.", return_tensors="pt").to(model.device)
output_ids = model.generate(**inputs, max_new_tokens=64)
print(tokenizer.decode(output_ids[0], skip_special_tokens=True))📝 Citationbibtex
@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}
}Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.