← back to catalog · registered 2026-08-22 13:56

natong19/Qwen2-VL-7B-Instruct-abliterated

natong19 Qwen 8.3B multimodal
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/natong19%2FQwen2-VL-7B-Instruct-abliterated"
Response includes
  • classification m1
  • files 15
  • hub_downloads_all_time 1,184
  • author_summary 4 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
1K
650 last 30d - active
Likes
0
Model age
2.1y ago
created 2024-09-18
Downloads over time
Now1.3K→from11↑11,591%
04719421.4K11 on Sep 18, 20241.3K on Oct 12Sep '24Jan '25May '25Sep '25JanMaySep
Sep 18, 2024 → Oct 12 · 148 snapshots · spans 754 days

Metadata

License
apache-2.0
Languages
en
Tags
transformers safetensors qwen2_vl image-text-to-text multimodal conversational en license:apache-2.0 text-generation-inference endpoints_compatible region:us

Related

Total size
15.4 GB
Files
15
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2024-09-18 07:02

Files by quantization

Auxiliary files 15 files 15.5 GB
model-00002-of-00004.safetensors 4.65 GB ac059472 download
model-00001-of-00004.safetensors 4.63 GB f2f6f8a9 download
model-00003-of-00004.safetensors 4.59 GB 536593e9 download
model-00004-of-00004.safetensors 1.58 GB 96f2ac87 download
tokenizer.json 6.70 MB f5195cf9 download
vocab.json 2.65 MB 4783fe10 download
merges.txt 1.59 MB 20024bfe download
model.safetensors.index.json 55.1 KB 6dc22ff0 download
tokenizer_config.json 4.09 KB ecbc13d7 download
README.md 3.35 KB f837bb3e download
.gitattributes 1.48 KB a6344aac download
config.json 1.05 KB fdc04e64 download
chat_template.json 1.03 KB 732bd68b download
preprocessor_config.json 347 B c8bf52bd download
generation_config.json 220 B 98103a17 download

README current version from Hugging Face


license: apache-2.0
language:

  • en
    pipeline_tag: image-text-to-text
    tags:
  • multimodal
    library_name: transformers

Qwen2-VL-7B-Instruct-abliterated

Introduction

Abliterated version of Qwen2-VL-7B-Instruct, an advanced multimodal large language model. Weight orthogonalization has been applied to inhibit the model's ability to express refusals while preserving the model's text and multimodal capabilities. Nonetheless, the model may still refuse your request, misunderstand your intent, or provide unsolicited advice regarding ethics or safety.

Requirements

If you encounter errors such as KeyError: 'qwen2_vl' or ImportError: cannot import name 'Qwen2VLForConditionalGeneration' from 'transformers', you can try building transformers from source with command pip install git+https://github.com/huggingface/transformers

Quickstart

from PIL import Image
import requests
import torch
from torchvision import io
from typing import Dict
from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor

path = "natong19/Qwen2-VL-7B-Instruct-abliterated"

# Load the model in half-precision on the available device(s)
model = Qwen2VLForConditionalGeneration.from_pretrained(
    path, torch_dtype="auto", device_map="auto"
)

min_pixels = 256*28*28
max_pixels = 1280*28*28
processor = AutoProcessor.from_pretrained(path, min_pixels=min_pixels, max_pixels=max_pixels)

# Image
url = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
image = Image.open(requests.get(url, stream=True).raw)

conversation = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
            },
            {"type": "text", "text": "Describe this image."},
        ],
    }
]

# Preprocess the inputs
text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
# Excepted output: '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\n<|vision_start|><|image_pad|><|vision_end|>Describe this image.<|im_end|>\n<|im_start|>assistant\n'

inputs = processor(
    text=[text_prompt], images=[image], padding=True, return_tensors="pt"
)
inputs = inputs.to("cuda")

# Inference: Generation of the output
output_ids = model.generate(**inputs, max_new_tokens=128)
generated_ids = [
    output_ids[len(input_ids) :]
    for input_ids, output_ids in zip(inputs.input_ids, output_ids)
]
output_text = processor.batch_decode(
    generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=True
)
print(output_text)

The above code can be run on 24GB VRAM. For more usage examples, such as multi-image inference, video inference and batch inference, please refer to the Qwen2-VL-7B-Instruct repo.

Evaluation

Evaluation framework: lm-evaluation-harness 0.4.2 and lmms-eval 0.2.1

Datasets Qwen2-VL-7B-Instruct Qwen2-VL-7B-Instruct-abliterated
Text benchmarks
ARC (25-shot) 57.8 57.8
MMLU (5-shot) 69.7 68.4
TruthfulQA (0-shot) 49.5 45.4
Winogrande (5-shot) 72.6 72.8
Multimodal benchmarks
AI2D (lite) 78.8 79.8
GQA (lite) 73.2 73.6
MMBench (EN dev, lite) 84.1 82.6
MMMU (val) 50.8 51.6
OCRBench 77.7 78.1
VQAv2 (val, lite) 79.9 79.8

README history 1 version

The author's README evolved over time. Click a version to see its content at that point.

  1. 2024-09-18Upload files3e471fe3.3 KB
    Loading...

Discussions 1 thread

  1. 2024-09-21How about to abliterate Qwen2-VL-72B-instruct ?open2 💬#1
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration