1

Qwen2.5-VL-7B-Instruct-Unredacted-MAX

Qwen2.5-VL-7B-Instruct-Unredacted-MAX is an optimized release built on top of huihui-ai/Qwen2.5-VL-7B-Instruct-abliterated. This version focuses on updated model packaging, improved compatibility with modern Transformers pipelines, and stable inference behavior, while preserving the multimodal reasoning and captioning capabilities of the original architecture. The result is a capable 7B vision-language model designed for efficient deployment, research workflows, and multimodal experimentation.

Key Highlights

  • Optimized Release Packaging Improved repository structure for smoother loading, deployment, and inference workflows.

  • Modern Transformers Compatibility Updated to ensure stable usage with recent Hugging Face Transformers versions.

  • 7B Vision-Language Architecture Built on Qwen2.5-VL-7B-Instruct, balancing multimodal capability with accessible hardware requirements.

  • Stable Multimodal Inference Designed for consistent performance across image-text reasoning tasks.

  • Efficient Caption Generation Produces structured, descriptive outputs suitable for annotation and dataset workflows.

  • Dynamic Resolution Support Retains native support for varying image resolutions and aspect ratios.


Base Model Signatures:

This model has been re-sharded and optimized for the latest Transformers version from the base model: https://huggingface.co/huihui-ai/Qwen2.5-VL-7B-Instruct-abliterated


Quick Start with Transformers

from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch

model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    "prithivMLmods/Qwen2.5-VL-7B-Instruct-Unredacted-MAX",
    torch_dtype="auto",
    device_map="auto"
)

processor = AutoProcessor.from_pretrained(
    "prithivMLmods/Qwen2.5-VL-7B-Instruct-Unredacted-MAX"
)

messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
            },
            {"type": "text", "text": "Provide a detailed caption for this image."},
        ],
    }
]

text = processor.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True
)

image_inputs, video_inputs = process_vision_info(messages)

inputs = processor(
    text=[text],
    images=image_inputs,
    videos=video_inputs,
    padding=True,
    return_tensors="pt",
).to("cuda")

generated_ids = model.generate(**inputs, max_new_tokens=256)

generated_text = processor.batch_decode(
    [out[len(inp):] for inp, out in zip(inputs.input_ids, generated_ids)],
    skip_special_tokens=True,
    clean_up_tokenization_spaces=False
)

print(generated_text)

Intended Use

  • Multimodal research and experimentation
  • Image captioning and dataset annotation pipelines
  • Vision-language evaluation and benchmarking
  • Lightweight deployment for vision-enabled applications
  • Prototyping multimodal AI systems

Limitations & Risks

Important Note: This model inherits limitations from its base architecture and training setup.

  • Output quality depends heavily on image clarity and prompt design
  • May produce inaccurate or incomplete interpretations in complex visual scenes
  • Requires sufficient GPU memory for stable inference
  • Performance varies based on decoding strategy and runtime optimization
Downloads last month
16
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for prithivMLmods/Qwen2.5-VL-7B-Instruct-Unredacted-MAX

Finetuned
(1080)
this model
Quantizations
3 models

Collection including prithivMLmods/Qwen2.5-VL-7B-Instruct-Unredacted-MAX