Skip to content

An Error In "Fine-Tuning a Vision Language Model (Qwen2-VL-7B) with the Hugging Face Ecosystem (TRL)" Notebook #328

@weathon

Description

@weathon

In this notebook(https://huggingface.co/learn/cookbook/fine_tuning_vlm_trl), it uses messages column to finetune. However, when I try to reproduce it using Qwen2.5-VL and my own dataset, the model converges to a local minima. I then read from the dataset sturcture and saw that I should use prompt and completion and it works. I think we should make this clear in the notebook.
huggingface/trl#4077

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions