Skip to content

Multimodal example #186

@MehreenMehreen

Description

@MehreenMehreen

Hello,

Thanks for your great work. I am trying out the multimodal example for qwen2.5vl. Would the code work? Dense.py uses Qwen2_5OmniThinkerForConditionalGeneration but for qwen2.5vl model it should be Qwen2_5VLForConditionalGeneration. Would the dataset.py files also need changing? It is using utils from omni package not the vl package.

Also, in dataset.py, the line: image = document_info.get('image', None). Should this be replaced by: image = document_info.get('document_image', None)?

Thanks in advance for your help,
Mehreen

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