Image-Text-to-Text
Transformers
Safetensors
PyTorch
English
qwen3_vl
text-generation-inference
uncensored
abliterated
unfiltered
unredacted
vllm
bf16
max
legal
conversational
Instructions to use prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX") model = AutoModelForMultimodalLM.from_pretrained("prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX
- SGLang
How to use prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX with Docker Model Runner:
docker model run hf.co/prithivMLmods/Qwen3-VL-4B-Instruct-Unredacted-MAX
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,24 +23,24 @@ tags:
|
|
| 23 |
|
| 24 |
# **Qwen3-VL-4B-Instruct-Unredacted-MAX**
|
| 25 |
|
| 26 |
-
> **Qwen3-VL-4B-Instruct-Unredacted-MAX** is an optimized release built on top of **huihui-ai/Qwen3-VL-4B-Instruct-abliterated**. This version focuses on **
|
| 27 |
|
| 28 |
## Key Highlights
|
| 29 |
|
| 30 |
-
* **Optimized Release
|
| 31 |
-
Streamlined repository
|
| 32 |
|
| 33 |
* **Modern Transformers Compatibility**
|
| 34 |
-
Updated for stable integration with recent Hugging Face Transformers
|
| 35 |
|
| 36 |
* **4B Vision-Language Architecture**
|
| 37 |
-
Built on **Qwen3-VL-4B-Instruct**, balancing multimodal capability with
|
| 38 |
|
| 39 |
* **Stable Multimodal Inference**
|
| 40 |
-
Designed for consistent performance across image-text
|
| 41 |
|
| 42 |
* **Efficient Caption Generation**
|
| 43 |
-
Produces structured and
|
| 44 |
|
| 45 |
* **Dynamic Resolution Support**
|
| 46 |
Retains native support for varying image resolutions and aspect ratios.
|
|
@@ -50,13 +50,13 @@ tags:
|
|
| 50 |
## Base Model Signatures:
|
| 51 |
|
| 52 |
This model has been re-sharded and optimized for the latest Transformers version from the base model:
|
| 53 |
-
https://huggingface.co/huihui-ai/Qwen3-VL-4B-Instruct-abliterated
|
| 54 |
|
| 55 |
---
|
| 56 |
|
| 57 |
## Quick Start with Transformers
|
| 58 |
|
| 59 |
-
```python id="
|
| 60 |
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
|
| 61 |
from qwen_vl_utils import process_vision_info
|
| 62 |
import torch
|
|
@@ -113,19 +113,19 @@ print(output_text)
|
|
| 113 |
|
| 114 |
## Intended Use
|
| 115 |
|
| 116 |
-
* Multimodal
|
| 117 |
-
*
|
| 118 |
-
*
|
| 119 |
-
*
|
| 120 |
-
*
|
| 121 |
|
| 122 |
---
|
| 123 |
|
| 124 |
## Limitations & Risks
|
| 125 |
|
| 126 |
-
> **Important Note**: This model inherits
|
| 127 |
|
| 128 |
-
* Output quality depends on image clarity and prompt design
|
| 129 |
-
* May produce incomplete or
|
| 130 |
-
* Requires sufficient
|
| 131 |
-
* Performance varies with decoding
|
|
|
|
| 23 |
|
| 24 |
# **Qwen3-VL-4B-Instruct-Unredacted-MAX**
|
| 25 |
|
| 26 |
+
> **Qwen3-VL-4B-Instruct-Unredacted-MAX** is an optimized release built on top of **huihui-ai/Qwen3-VL-4B-Instruct-abliterated**. This version focuses on **updated packaging, improved Transformers compatibility, and stable multimodal inference behavior**, while preserving the core vision-language reasoning capabilities of the original architecture. The result is a capable **4B vision-language model** designed for efficient deployment, research workflows, and multimodal experimentation.
|
| 27 |
|
| 28 |
## Key Highlights
|
| 29 |
|
| 30 |
+
* **Optimized Release Structure**
|
| 31 |
+
Streamlined repository organization for easier loading, deployment, and inference workflows.
|
| 32 |
|
| 33 |
* **Modern Transformers Compatibility**
|
| 34 |
+
Updated for stable integration with recent Hugging Face Transformers versions.
|
| 35 |
|
| 36 |
* **4B Vision-Language Architecture**
|
| 37 |
+
Built on **Qwen3-VL-4B-Instruct**, balancing multimodal capability with efficient compute requirements.
|
| 38 |
|
| 39 |
* **Stable Multimodal Inference**
|
| 40 |
+
Designed for consistent performance across image-text understanding tasks.
|
| 41 |
|
| 42 |
* **Efficient Caption Generation**
|
| 43 |
+
Produces structured and detailed descriptions suitable for annotation and dataset pipelines.
|
| 44 |
|
| 45 |
* **Dynamic Resolution Support**
|
| 46 |
Retains native support for varying image resolutions and aspect ratios.
|
|
|
|
| 50 |
## Base Model Signatures:
|
| 51 |
|
| 52 |
This model has been re-sharded and optimized for the latest Transformers version from the base model:
|
| 53 |
+
https://huggingface.co/huihui-ai/Huihui-Qwen3-VL-4B-Instruct-abliterated
|
| 54 |
|
| 55 |
---
|
| 56 |
|
| 57 |
## Quick Start with Transformers
|
| 58 |
|
| 59 |
+
```python id="q3vl4b_code"
|
| 60 |
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
|
| 61 |
from qwen_vl_utils import process_vision_info
|
| 62 |
import torch
|
|
|
|
| 113 |
|
| 114 |
## Intended Use
|
| 115 |
|
| 116 |
+
* Multimodal research and vision-language evaluation
|
| 117 |
+
* Image captioning and dataset generation pipelines
|
| 118 |
+
* Prototyping AI systems combining text and vision
|
| 119 |
+
* Lightweight deployment on consumer or mid-range GPUs
|
| 120 |
+
* Experimental workflows in multimodal understanding
|
| 121 |
|
| 122 |
---
|
| 123 |
|
| 124 |
## Limitations & Risks
|
| 125 |
|
| 126 |
+
> **Important Note**: This model inherits constraints and behavior from its base architecture.
|
| 127 |
|
| 128 |
+
* Output quality depends heavily on image clarity and prompt design
|
| 129 |
+
* May produce incomplete or inconsistent interpretations in complex scenarios
|
| 130 |
+
* Requires sufficient GPU memory for stable inference
|
| 131 |
+
* Performance varies with decoding settings and runtime optimization
|