/ Модель

Характеристики

Лицензия
Apache 2.0
Библиотека
transformers
Опубликована
28 окт 2025

qwen2.5-vl-3b-instruct

Изображение и текст → текст11 профессий

Qwen2.5-VL-3B-Instruct (Abliterated) — мультимодальная модель семейства Qwen, опубликованная пользователем wangkanai и основанная на Qwen2.5-VL-3B-Instruct.

695скачиваний за 30 дней3лайкавеса обновлены29 окт 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это вариант с удалёнными или существенно ослабленными защитными фильтрами исходной модели, поэтому он может формировать менее ограниченные ответы.

Модель принимает изображения и текст и генерирует текстовые ответы. Она предназначена для визуального ответа на вопросы, описания изображений, мультимодального рассуждения, анализа документов и OCR, интерпретации диаграмм и графиков, а также понимания сцен и пространственных отношений. Архитектура описана как Qwen2-VL с визуальным энкодером на базе ViT и примерно 3 миллиардами параметров; заявленная длина текстового контекста составляет 4096 токенов. Доступны варианты SafeTensors и GGUF, включая FP16, Q5_K_M и Q4_K_M, что позволяет выбирать между качеством и требованиями к памяти.

Сильные стороны модели — сочетание обработки изображений и текста, поддержка широкого набора задач анализа визуального содержимого и возможность локального запуска в различных форматах. Ограничения включают меньший размер по сравнению с более крупными моделями семейства, возможные потери качества у квантованных вариантов и отсутствие в предоставленных данных подробной информации о поддерживаемых языках и результатах независимых тестов. Удаление защитных механизмов повышает риск небезопасных или нежелательных ответов, поэтому модель следует использовать ответственно и с соблюдением применимых законов.

Модель распространяется по лицензии Apache-2.0.

Для каких профессий подходит11

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen2.5-VL-3B-Instruct (Abliterated)

A vision-language model based on Qwen2.5-VL-3B-Instruct with safety filters removed ("abliterated"). This multimodal model can process both images and text to generate text responses, making it suitable for visual question answering, image captioning, and multimodal reasoning tasks.

Model Description

Qwen2.5-VL-3B-Instruct is a 3 billion parameter vision-language model from the Qwen family. This abliterated version has had its safety guardrails removed, allowing for more flexible and uncensored responses while maintaining the model's core capabilities in understanding and reasoning about visual content.

Key Capabilities:

  • Visual question answering
  • Image captioning and description
  • Multimodal reasoning and analysis
  • Document understanding and OCR
  • Chart and diagram interpretation
  • Scene understanding and spatial reasoning

Note: The "abliterated" designation means this model has reduced content filtering compared to the original release. Use responsibly and in accordance with applicable laws and regulations.

Repository Contents

This repository contains multiple model format variants optimized for different use cases:

FileFormatSizePrecisionUse Case
qwen2.5-vl-3b-instruct-abliterated.safetensorsSafeTensors7.0 GBFP32/BF16Full precision, PyTorch/Transformers
qwen2.5-vl-3b-instruct-abliterated-f16.ggufGGUF5.76 GBFP16llama.cpp, high quality
qwen2.5-vl-3b-instruct-abliterated-q5-k-m.ggufGGUF2.07 GBQ5_K_Mllama.cpp, balanced quality/size
qwen2.5-vl-3b-instruct-abliterated-q4-k-m.ggufGGUF1.80 GBQ4_K_Mllama.cpp, maximum efficiency

Total Repository Size: ~17 GB (all variants)

Hardware Requirements

SafeTensors Format (.safetensors)

  • VRAM: 8-10 GB (FP16), 14-16 GB (FP32)
  • RAM: 16 GB minimum
  • Disk Space: 7.0 GB
  • Recommended GPU: NVIDIA RTX 3060 (12GB) or higher

GGUF Format (FP16)

  • VRAM: 6-8 GB
  • RAM: 12 GB minimum
  • Disk Space: 5.76 GB
  • Recommended: NVIDIA RTX 3060, AMD RX 6700 XT

GGUF Format (Q5_K_M)

  • VRAM: 3-4 GB
  • RAM: 8 GB minimum
  • Disk Space: 2.07 GB
  • Recommended: NVIDIA GTX 1660, RTX 3050

GGUF Format (Q4_K_M)

  • VRAM: 2-3 GB
  • RAM: 8 GB minimum
  • Disk Space: 1.80 GB
  • Recommended: NVIDIA GTX 1650, integrated GPUs

Usage Examples

Using with Transformers (SafeTensors)

from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from PIL import Image
import torch

# Load model and processor
model_path = "E:/huggingface/qwen2.5-vl-3b-instruct/qwen2.5-vl-3b-instruct-abliterated.safetensors"
model = Qwen2VLForConditionalGeneration.from_pretrained(
    model_path,
    torch_dtype=torch.float16,
    device_map="auto"
)
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-3B-Instruct")

# Load and process image
image = Image.open("your_image.jpg")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image"},
            {"type": "text", "text": "Describe this image in detail."}
        ]
    }
]

# Prepare inputs
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=[text], images=[image], return_tensors="pt").to(model.device)

# Generate response
with torch.inference_mode():
    generated_ids = model.generate(
        **inputs,
        max_new_tokens=512,
        temperature=0.7,
        top_p=0.9
    )

output = processor.batch_decode(
    generated_ids,
    skip_special_tokens=True,
    clean_up_tokenization_spaces=True
)[0]

print(output)

Using with llama.cpp (GGUF)

# Using FP16 version
llama-cli \
  --model "E:/huggingface/qwen2.5-vl-3b-instruct/qwen2.5-vl-3b-instruct-abliterated-f16.gguf" \
  --image "your_image.jpg" \
  --prompt "Describe this image" \
  --ctx-size 4096 \
  --n-predict 512

# Using Q5_K_M quantized version (recommended balance)
llama-cli \
  --model "E:/huggingface/qwen2.5-vl-3b-instruct/qwen2.5-vl-3b-instruct-abliterated-q5-k-m.gguf" \
  --image "your_image.jpg" \
  --prompt "What objects can you see in this image?" \
  --ctx-size 4096 \
  --n-predict 512 \
  --threads 8

# Using Q4_K_M quantized version (maximum efficiency)
llama-cli \
  --model "E:/huggingface/qwen2.5-vl-3b-instruct/qwen2.5-vl-3b-instruct-abliterated-q4-k-m.gguf" \
  --image "your_image.jpg" \
  --prompt "Analyze this image" \
  --ctx-size 4096 \
  --n-predict 512

Using with Python llama-cpp-python

from llama_cpp import Llama
from llama_cpp.llama_chat_format import Llava15ChatHandler

# Initialize with FP16
chat_handler = Llava15ChatHandler(clip_model_path="path/to/clip/model")
llm = Llama(
    model_path="E:/huggingface/qwen2.5-vl-3b-instruct/qwen2.5-vl-3b-instruct-abliterated-f16.gguf",
    chat_handler=chat_handler,
    n_ctx=4096,
    n_gpu_layers=-1,  # Use GPU acceleration
    verbose=False
)

# Generate response
response = llm.create_chat_completion(
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "image_url", "image_url": {"url": "file://path/to/image.jpg"}},
                {"type": "text", "text": "What's in this image?"}
            ]
        }
    ],
    max_tokens=512,
    temperature=0.7
)

print(response['choices'][0]['message']['content'])

Model Specifications

SpecificationDetails
ArchitectureQwen2-VL (Vision-Language Transformer)
Parameters~3 billion
Base ModelQwen2.5-VL-3B-Instruct
Vision EncoderViT-based visual encoder
Context Length4096 tokens (text)
LanguagesPrimarily English, supports multilingual
ModificationsAbliterated (safety filters removed)
Formats AvailableSafeTensors, GGUF (FP16, Q5_K_M, Q4_K_M)

Performance Tips and Optimization

For SafeTensors Format

  • Use torch.float16 or torch.bfloat16 for inference to reduce memory usage
  • Enable device_map="auto" for automatic GPU memory management
  • Use Flash Attention 2 if available: model.config.use_flash_attention_2 = True
  • Batch processing: Process multiple images in batches for better throughput

For GGUF Format

  • FP16: Best quality, use when VRAM allows (6-8 GB)
  • Q5_K_M: Recommended balance of quality and efficiency (3-4 GB VRAM)
  • Q4_K_M: Maximum efficiency for resource-constrained systems (2-3 GB VRAM)
  • Adjust --threads parameter based on CPU core count
  • Use --n-gpu-layers -1 to offload all layers to GPU when possible

Image Preprocessing

  • Resize images to reasonable dimensions (e.g., 1024x1024 max) before processing
  • Supported formats: JPEG, PNG, WebP, BMP
  • Use clear, well-lit images for best results
  • Higher resolution images require more VRAM

Generation Parameters

  • Temperature: 0.7-0.9 for creative descriptions, 0.1-0.3 for factual analysis
  • Top-p: 0.9-0.95 for diverse outputs, 0.7-0.8 for focused responses
  • Max tokens: 256-512 for descriptions, 1024+ for detailed analysis

Quantization Information

GGUF Quantization Schemes

QuantizationDescriptionQuality LossMemory Savings
FP16Half precision, no quantization~0%~50% vs FP32
Q5_K_M5-bit quantization, medium variant<5%~75% vs FP32
Q4_K_M4-bit quantization, medium variant5-10%~80% vs FP32

Recommendation: Q5_K_M offers the best balance for most use cases, with minimal quality loss and significant memory savings.

License

This model is released under the Apache 2.0 License.

Copyright 2024 Qwen Team

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Important Note: This is an abliterated (uncensored) version with safety filters removed. Users are responsible for ensuring their use complies with applicable laws, regulations, and ethical guidelines.

Citation

If you use this model in your research or applications, please cite:

@article{qwen2vl2024,
  title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
  author={Qwen Team},
  journal={arXiv preprint arXiv:2409.12191},
  year={2024}
}

Related Resources

Acknowledgments

  • Original model developed by the Qwen Team at Alibaba Cloud
  • Abliteration process removes safety guardrails while preserving model capabilities
  • GGUF quantization enables efficient deployment on consumer hardware

Disclaimer

This abliterated model has reduced content filtering. Users must:

  • Comply with all applicable laws and regulations
  • Use the model responsibly and ethically
  • Not use for harmful, illegal, or unethical purposes
  • Understand that outputs may be uncensored

The model providers and distributors are not responsible for misuse or outputs generated by this model.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Ревизия весов
2e0c1c1

0 моделей