Trần Đại Nhân
CV
Back to the CV

A Vietnamese vision-language model, LLaVA style

SigLIP2 and Llama 3.2 1B joined by an MLP projector, trained in two stages.

Role
Team project
Context
AI VIET NAM
When
2026

Overview

SigLIP2 sees the image, a small MLP translates what it sees into the language model's embedding space, and Llama 3.2 1B answers in Vietnamese. Training happens in two stages, and what each stage is allowed to change is the whole design.

Stage 1 aligns modalities: the vision encoder and the language model stay frozen and only the projector learns, on Vietnamese COCO captions and UIT-OpenViIC. Stage 2 unfreezes the language model for visual instruction tuning on Vietnamese VQA data, plus tourism Q&A we crawled and generated with the OpenAI Batch API.

Distributed training runs on Accelerate with token-weighted loss and checkpoint-and-resume, evaluated on KTVIC captioning and Vista conversation, with Streamlit demos for captioning and chat.

Training stages

  1. Photo
  2. SigLIP2 so400m576 image tokens
  3. MLP projectorimage to word space
  4. Llama 3.2 1Bwrites Vietnamese
  5. Answer in Vietnamese

Stage 1, alignment

Learns
the projector only
Data
Vietnamese COCO 2017 captions and UIT-OpenViIC, sampled so each source counts equally
Optimizer
AdamW, learning rate 1e-3, 2 epochs

Built with

  • SigLIP2
  • Llama 3.2 1B
  • PyTorch
  • Accelerate
  • Hugging Face