maestro: Streamlining Fine-Tuning for Multimodal Models like PaliGemma 2 and Florence-2
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
maestro is a powerful tool designed to accelerate the fine-tuning process for multimodal models. It encapsulates best practices, handling configuration, data loading, reproducibility, and training loop setup efficiently. The project currently offers ready-to-use recipes for popular vision-language models, including Florence-2, PaliGemma 2, and Qwen2.5-VL.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
maestro is a streamlined tool developed by Roboflow to accelerate the fine-tuning of multimodal models. By encapsulating best practices, maestro simplifies complex tasks such as configuration, data loading, reproducibility, and training loop setup. It currently provides ready-to-use recipes for popular vision-language models, including Florence-2, PaliGemma 2, and Qwen2.5-VL, making advanced model customization more accessible.
Installation
To get started with maestro, you need to install the model-specific dependencies. It is recommended to create a dedicated Python environment for each model due to potential clashing requirements.
pip install "maestro[paligemma_2]"
Replace paligemma_2 with the specific model you intend to use, for example, florence_2 or qwen2_5_vl.
Examples
maestro offers both a command-line interface (CLI) and a Python API for fine-tuning your models. Additionally, the repository provides convenient Colab notebooks for hands-on experimentation.
Command-Line Interface (CLI)
Kick off fine-tuning directly from your terminal by specifying key parameters like dataset location, epochs, batch size, optimization strategy, and metrics.
maestro paligemma_2 train \
--dataset "dataset/location" \
--epochs 10 \
--batch-size 4 \
--optimization_strategy "qlora" \
--metrics "edit_distance"
Python API
For greater control and integration into existing workflows, use the Python API. Import the train function from the corresponding module and define your configuration in a dictionary.
from maestro.trainer.models.paligemma_2.core import train
config = {
"dataset": "dataset/location",
"epochs": 10,
"batch_size": 4,
"optimization_strategy": "qlora",
"metrics": ["edit_distance"]
}
train(config)
Colab Notebooks
Explore practical examples and fine-tune models directly in Google Colab. The maestro repository includes several cookbooks, such as:
- Florence-2 (0.9B) object detection with LoRA
- PaliGemma 2 (3B) JSON data extraction with LoRA
- Qwen2.5-VL (3B) JSON data extraction with QLoRA
Why Use maestro?
maestro stands out by simplifying the often-complex process of fine-tuning multimodal models. Its key advantages include:
- Streamlined Workflow: Accelerates the entire fine-tuning process, from setup to training.
- Best Practices Encapsulated: Handles configuration, data loading, reproducibility, and training loop setup, allowing users to focus on their data and models.
- Ready-to-Use Recipes: Provides pre-configured setups for popular models like Florence-2, PaliGemma 2, and Qwen2.5-VL.
- Hardware Efficiency: Supports optimization strategies like LoRA, QLoRA, and graph freezing to keep hardware requirements in check.
- Consistent Data Handling: Utilizes a consistent JSONL format to streamline data preparation.
- Unified Interface: Offers a single CLI/SDK to reduce code complexity across different models and tasks.
Links
- GitHub Repository: https://github.com/roboflow/maestro
- Official Colab Notebook: https://colab.research.google.com/github/roboflow/maestro/blob/develop/cookbooks/maestro_qwen2_5_vl_json_extraction.ipynb
- Join the Discord Community: https://discord.gg/GbfgXGJ8Bk
- Contributing Guide: https://github.com/roboflow/maestro/blob/develop/CONTRIBUTING.md
- GitHub Discussions: https://github.com/roboflow/maestro/discussions
Related repositories
Similar repositories that may be relevant next.

Axolotl: Streamlining LLM Fine-tuning with a Powerful Open-Source Framework
July 7, 2026
Axolotl is a comprehensive, free, and open-source framework designed to simplify the post-training and fine-tuning processes for large language models (LLMs). It offers extensive model support, diverse training methods, and robust performance optimizations, making it an invaluable tool for researchers and developers. With easy configuration and cloud-ready deployment, Axolotl empowers users to efficiently customize and enhance LLMs.

Mergoo: Efficiently Merge and Train Multiple LLM Experts
July 7, 2026
Mergoo is an open-source Python library designed to simplify the merging of multiple Large Language Model (LLM) experts. It enables efficient training of these merged LLMs, allowing users to integrate knowledge from various generic or domain-specific models. The library supports several merging methods, including Mixture-of-Experts and Mixture-of-Adapters, across popular base models.

PEFT: State-of-the-Art Parameter-Efficient Fine-Tuning
May 14, 2026
PEFT (Parameter-Efficient Fine-Tuning) is a cutting-edge library from Hugging Face designed to efficiently adapt large pretrained models for various downstream applications. It dramatically reduces computational and storage costs by fine-tuning only a small subset of model parameters. This approach enables achieving performance comparable to fully fine-tuned models, making advanced AI accessible on more modest hardware.

LLaMA-Factory: Unified Efficient Fine-Tuning for 100+ LLMs & VLMs
November 8, 2025
LLaMA-Factory is an open-source project offering a unified and efficient framework for fine-tuning over 100 large language models (LLMs) and vision-language models (VLMs). Recognized at ACL 2024, it provides a comprehensive suite of tools and algorithms for various training approaches. This repository simplifies the complex process of adapting powerful models for specific tasks with ease and scalability.
Source repository
Open the original repository on GitHub.
11 counted GitHub visits