Views
No views yet

Qwen3-VL-8B-Heretic-Stable is an optimized release built on top of huihui-ai/Huihui-Qwen3-VL-8B-Instruct-abliterated. This version focuses on updated shard sizing, repository optimization, and compatibility improvements for the latest Transformers releases, while preserving the multimodal capabilities of the original model. The result is a stable and efficient 8B vision-language model designed for image and text reasoning with streamlined deployment and inference workflows.
[!IMPORTANT] This model is intended for research and learning purposes only. Any content generated by this model is used at the user’s own risk. The authors and hosting page disclaim any liability for outputs produced by this model. Users are responsible for ensuring safe, ethical, and lawful usage.
| Metric | Result |
|---|---|
| Refusal Rate | N/A |
| Test Setup | N/A |
| Inference Type | text-generation + vision-language |
| Dataset | N/A |
1pip install transformers==5.9.0
2# or
3pip install git+https://github.com/huggingface/transformers.git1from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
2from qwen_vl_utils import process_vision_info
3import torch
4
5model = Qwen3VLForConditionalGeneration.from_pretrained(
6 "prithivMLmods/Qwen3-VL-8B-Heretic-Stable",
7 torch_dtype="auto",
8 device_map="auto"
9)
10
11processor = AutoProcessor.from_pretrained(
12 "prithivMLmods/Qwen3-VL-8B-Heretic-Stable"
13)
14
15messages = [
16 {
17 "role": "user",
18 "content": [
19 {
20 "type": "image",
21 "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
22 },
23 {
24 "type": "text",
25 "text": "Describe this image in detail."
26 },
27 ],
28 }
29]
30
31text = processor.apply_chat_template(
32 messages,
33 tokenize=False,
34 add_generation_prompt=True
35)
36
37image_inputs, video_inputs = process_vision_info(messages)
38
39inputs = processor(
40 text=[text],
41 images=image_inputs,
42 videos=video_inputs,
43 padding=True,
44 return_tensors="pt",
45).to("cuda")
46
47generated_ids = model.generate(
48 **inputs,
49 max_new_tokens=256
50)
51
52generated_ids_trimmed = [
53 out_ids[len(in_ids):]
54 for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
55]
56
57output_text = processor.batch_decode(
58 generated_ids_trimmed,
59 skip_special_tokens=True,
60 clean_up_tokenization_spaces=False
61)
62
63print(output_text)Important Note: This model inherits the behavior and limitations of its base model.