• About Me
  • Blogs
  • Projects

PaliGemma Inference and LoRA Fine Tuning

Large Language Model
Multi-Modality
Fine-Tuning
This project involves modeling a multi-modal large language model called PaliGemma, which integrates vision and language tasks. First we perform inference using the pre-trained PaliGemma model. Then, we fine-tune the model using LoRA (Low-Rank Adaptation) for specific applications, for example Receipt OCR Extraction. By the end, will implement a Gradio web interface to demonstrate the fine-tuned model’s capabilities.
Author

Yuyang Zhang

Published

October 1, 2024

Keywords

LoRA, PyTorch, Gradio, Grouped Query Attention, RoPE, KV Cache

 

© 2025 Yuyang Zhang. Built with Quarto.