Downloads · 30 days
6
12% of all-time downloads
COinCO/Qwen2.5-VL-3B-Location
Qwen2.5-VL-3B-Location is a image-text-to-text model from COinCO. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-4.0.
Authors: Tianze Yang\, Tyson Jordan\, Ruitong Sun\, Ninghao Liu, Jin Sun \Equal contribution | Affiliation: University of Georgia
Downloads · 30 days
6
12% of all-time downloads
All-time downloads
49
Public
Parameters
3.8B
7.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.5 GB · 100%
From the Hugging Face model README
Authors: Tianze Yang*, Tyson Jordan*, Ruitong Sun*, Ninghao Liu, Jin Sun *Equal contribution | Affiliation: University of Georgia
A fine-tuned Qwen2.5-VL-3B-Instruct model for detecting out-of-context objects based on the location criterion.
Given an image with an object marked by a red bounding box, the model evaluates whether the object is placed in a physically and contextually reasonable position — e.g., supported by a surface, on the ground, or in a plausible environment. Objects floating in mid-air or embedded in other objects are classified as out-of-context.
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
import torch
model_id = "COinCO/Qwen2.5-VL-3B-Location"
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto",
)
processor = AutoProcessor.from_pretrained(model_id)
| Parameter | Value |
|---|---|
| Base Model | Qwen2.5-VL-3B-Instruct |
| Method | LoRA fine-tuning (merged) |
| Dataset | COinCO |
| Training Samples | ~5,000 |
| Epochs | 3 |
| Learning Rate | 2e-4 |
| Model | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|
| Baseline (Qwen2.5-VL-3B) | 74.43% | — | — | — |
| This model | 71.05% | — | — | — |
| Model | Accuracy |
|---|---|
| Baseline | 47.55% |
| This model | 91.35% (+43.80%) |
The baseline model heavily relies on visual artifacts (shortcut learning), achieving only 47.55% on real images. After fine-tuning, the model correctly identifies 91.35% of real objects as in-context, demonstrating significantly reduced shortcut reliance.
@article{yang2025coinco,
title={Common Inpainted Objects In-N-Out of Context},
author={Tianze Yang and Tyson Jordan and Ruitong Sun and Ninghao Liu and Jin Sun},
year={2025}
}