← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

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

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

Below is the per-quantization compatibility for this model.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

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.1.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
HIGH
Why this label 1 signal
Producer identity confirmed by naming conventions, tags or the model card. This label is very unlikely to change.
  • card states the abliteration (refusal direction / orthogonalization)
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
77 last 30d - cooling
Likes
0
Model age
2.2y ago
created 2024-09-18
Downloads over time
Now 1.5K → from 11 ↑ 13,227%
05371.1K1.6K 11 on Sep 18, 2024 1.5K on Nov 27 1.5K on Nov 25 Sep '24Jan '25May '25Sep '25JanMaySep
Sep 18, 2024 → Nov 27 · 194 snapshots · spans 800 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.5 GB
Files
15
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2024-09-18 07:02

Files by quantization

Weights 4 files 15.4 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
Auxiliary files 11 files 11.0 MB
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 from Hugging Face, captured 2026-08-22


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-18 Upload files 3e471fe 3.3 KB
    Loading...

Discussions 1 thread

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

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

Every GGUF 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