Downloads · 30 days
252
7% of all-time downloads
wangkanai/qwen3-vl-30b-a3b-instruct
qwen3-vl-30b-a3b-instruct is a image-text-to-text model from wangkanai. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as unknown.
A vision-language model based on Qwen3-VL architecture, abliterated for enhanced instruction following and creative capabilities. This 30B parameter multimodal model processes both images and text to generate contextu…
Downloads · 30 days
252
7% of all-time downloads
All-time downloads
3.5K
Public
Repo size
247 GB
Likes
2
Public
Click a slice to open those files.
.gguf185 GB · 75%
From the Hugging Face model README
A vision-language model based on Qwen3-VL architecture, abliterated for enhanced instruction following and creative capabilities. This 30B parameter multimodal model processes both images and text to generate contextual responses.
Qwen3-VL-30B-A3B-Instruct is a large-scale vision-language model that combines visual understanding with natural language processing. The "abliterated" variant has undergone targeted removal of safety filters and restrictions, enabling more flexible and creative responses while maintaining model coherence.
Key Capabilities:
qwen3-vl-30b-a3b-instruct/
├── qwen3-vl-30b-a3b-instruct-abliterated.safetensors 58 GB (Full precision)
├── qwen3-vl-30b-a3b-instruct-abliterated-f16.gguf 57 GB (FP16 GGUF)
├── qwen3-vl-30b-a3b-instruct-abliterated-q8-0.gguf 31 GB (Q8 quantized)
├── qwen3-vl-30b-a3b-instruct-abliterated-q6-k.gguf 24 GB (Q6_K quantized)
├── qwen3-vl-30b-a3b-instruct-abliterated-q5-k.gguf 21 GB (Q5_K quantized)
├── qwen3-vl-30b-a3b-instruct-abliterated-q4-k-m.gguf 18 GB (Q4_K_M quantized)
├── qwen3-vl-30b-a3b-instruct-abliterated-q3-k.gguf 14 GB (Q3_K quantized)
└── qwen3-vl-30b-a3b-instruct-abliterated-q2-k.gguf 11 GB (Q2_K quantized)
Total Repository Size: ~234 GB (all formats)
Format Options:
| Format | VRAM Required | Quality | Recommended GPU |
|---|---|---|---|
| SafeTensors (Full) | 60+ GB | Highest | A100 80GB, H100 |
| F16 GGUF | 57+ GB | Highest | A100 80GB, H100 |
| Q8_0 GGUF | 32-35 GB | Excellent | 2x RTX 4090, A6000 48GB |
| Q6_K GGUF | 25-28 GB | Very Good | 2x RTX 3090, A5000 24GB |
| Q5_K GGUF | 22-25 GB | Good | RTX 4090 + RTX 3090 |
| Q4_K_M GGUF | 19-22 GB | Moderate | Single RTX 4090 24GB |
| Q3_K GGUF | 15-18 GB | Lower | RTX 4080 16GB |
| Q2_K GGUF | 12-15 GB | Minimal | RTX 3060 12GB |
from transformers import AutoModelForCausalLM, AutoTokenizer
from PIL import Image
import torch
# Load model and tokenizer
model_path = "E:/huggingface/qwen3-vl-30b-a3b-instruct"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
model_path,
torch_dtype=torch.bfloat16,
device_map="auto" # Automatic device placement
)
# Load image
image = Image.open("your_image.jpg")
# Prepare input
prompt = "Describe this image in detail."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
# Generate response
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
do_sample=True
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
from transformers import AutoModelForCausalLM, AutoTokenizer
from PIL import Image
import torch
model_path = "E:/huggingface/qwen3-vl-30b-a3b-instruct"
model = AutoModelForCausalLM.from_pretrained(
model_path,
torch_dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_path)
# Load image
image = Image.open("scene.jpg")
# Ask question about image
question = "What objects are visible in this image and what are they doing?"
inputs = tokenizer(question, return_tensors="pt").to(model.device)
# Generate answer
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.3, # Lower temperature for factual answers
top_p=0.95
)
answer = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(f"Q: {question}")
print(f"A: {answer}")
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_path = "E:/huggingface/qwen3-vl-30b-a3b-instruct"
# Load with 8-bit quantization
model = AutoModelForCausalLM.from_pretrained(
model_path,
load_in_8bit=True,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_path)
# Use normally - reduced VRAM footprint (~30GB)
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
import torch
model_path = "E:/huggingface/qwen3-vl-30b-a3b-instruct"
# Configure 4-bit quantization
quantization_config = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_compute_dtype=torch.bfloat16,
bnb_4bit_use_double_quant=True,
bnb_4bit_quant_type="nf4"
)
# Load model with 4-bit quantization
model = AutoModelForCausalLM.from_pretrained(
model_path,
quantization_config=quantization_config,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_path)
# Use normally - minimal VRAM footprint (~15GB)
# Install llama.cpp
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
make
# Run inference with Q4_K_M quantization (18GB, good quality/performance balance)
./main -m "E:/huggingface/qwen3-vl-30b-a3b-instruct/qwen3-vl-30b-a3b-instruct-abliterated-q4-k-m.gguf" \
-p "Describe the Eiffel Tower" \
-n 512 \
--temp 0.7 \
--top-p 0.9 \
-ngl 99 # Offload all layers to GPU
# Create Modelfile
cat > Modelfile << EOF
FROM E:/huggingface/qwen3-vl-30b-a3b-instruct/qwen3-vl-30b-a3b-instruct-abliterated-q4-k-m.gguf
TEMPLATE """{{ .System }}
{{ .Prompt }}"""
PARAMETER temperature 0.7
PARAMETER top_p 0.9
PARAMETER stop "<|im_end|>"
EOF
# Create Ollama model
ollama create qwen3vl-30b-abliterated -f Modelfile
# Run inference
ollama run qwen3vl-30b-abliterated "What is the capital of France?"
qwen3-vl-30b-a3b-instruct-abliterated-q4-k-m.ggufqwen3-vl-30b-a3b-instruct-abliterated-q8-0.gguffrom llama_cpp import Llama
# Load GGUF model (Q4_K_M for single RTX 4090)
llm = Llama(
model_path="E:/huggingface/qwen3-vl-30b-a3b-instruct/qwen3-vl-30b-a3b-instruct-abliterated-q4-k-m.gguf",
n_ctx=4096, # Context window
n_gpu_layers=99, # Offload all layers to GPU
n_threads=8, # CPU threads
verbose=False
)
# Generate response
response = llm(
"Explain quantum computing in simple terms.",
max_tokens=512,
temperature=0.7,
top_p=0.9,
echo=False
)
print(response['choices'][0]['text'])
SafeTensors Format:
GGUF Formats (llama.cpp compatible):
Quantization Recommendations:
Memory Optimization:
torch.bfloat16 or torch.float16 for reduced memorydevice_map="auto"Inference Optimization:
torch.compile() for optimized inference (PyTorch 2.0+)GPU Offloading:
-ngl 99 to offload all layers to GPU for maximum speed-ngl 40) for mixed CPU/GPU inferenceContext Window:
-c 4096 or n_ctx=4096)Threading:
-t 8 (llama.cpp) or n_threads=8 (Python)Batch Size:
--batch-size 512Choose SafeTensors if:
Choose GGUF if:
This model has been "abliterated" - a process that removes or reduces safety filters and content restrictions present in the base model. This enables:
Important: Use responsibly and in accordance with applicable laws and ethical guidelines.
License information not specified in model files. Please verify licensing terms with the original model provider before commercial use.
Recommended: Check Qwen/Qwen3-VL official repository for licensing details.
If you use this model in your research or applications, please cite:
@misc{qwen3vl30b-abliterated,
title={Qwen3-VL-30B-A3B-Instruct-Abliterated},
author={Unknown},
year={2024},
howpublished={\url{https://huggingface.co/qwen3-vl-30b-a3b-instruct}},
}
For issues, questions, or contributions related to this model:
Model Storage Path: E:\huggingface\qwen3-vl-30b-a3b-instruct\
Last Updated: 2025-11-05