Skip to content

Conversation

@plaguss
Copy link
Contributor

@plaguss plaguss commented Jan 15, 2025

Description

Integrates vision language models on vLLM:

loader = LoadDataFromDicts(
    data=[
        {
            "instruction": "What’s in this image?",
            "image": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
        }
    ],
)

llm = vLLM(
    model_id="meta-llama/Llama-3.2-11B-Vision-Instruct",
)

vision = TextGenerationWithImage(name="vision_gen", llm=llm, image_type="url")

@plaguss plaguss added the enhancement New feature or request label Jan 15, 2025
@plaguss plaguss requested a review from gabrielmbmb January 15, 2025 16:09
@plaguss plaguss self-assigned this Jan 15, 2025
@github-actions
Copy link

Documentation for this PR has been built. You can view it at: https://distilabel.argilla.io/pr-1098/

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 15, 2025

CodSpeed Performance Report

Merging #1098 will not alter performance

Comparing vllm-image (70c8758) with develop (5257600)

Summary

✅ 1 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant