Downloads · 30 days
0
3division/TinyCLIP-23m_Qwen200M_223M
TinyCLIP-23m_Qwen200M_223M is a machine learning model from 3division. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Small toolkit for training and serving a custom vision-language model (VLM) using a vision encoder + LoRA-tuned language model + projector.
Downloads · 30 days
0
Access
Public
Updated Apr 30, 2026
Repo size
23.3 MB
Likes
0
Public
Click a slice to open those files.
.json11.4 MB · 49%
From the Hugging Face model README
Small toolkit for training and serving a custom vision-language model (VLM) using a vision encoder + LoRA-tuned language model + projector.
vlm_distill_LLaVA.py: Train pipeline for LLaVA-style data (llava_images_100k/). Builds model, trains, and saves checkpoints.test_LLaVA.py: Loads a trained checkpoint and runs single-sample inference on the dataset split.run_model_LLaVA.py: FastAPI server for inference (/chat) from local image path or base64 image.data_extract.py: Dataset/data extraction helper.requirements.txt: Python dependencies.checkpoints/: Saved LoRA adapters + projector weights.images_test/: Local images for quick inference testing.python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python run_model_LLaVA.py
Server starts on http://0.0.0.0:8000 with endpoint:
POST /chat
prompt, and either image_path or image_base64Example request body:
{
"prompt": "Summarize the image in one sentence.",
"image_path": "images_test/bowl.jpg"
}