Image-Text-to-Text
Safetensors
English
qwen2_vl
unsloth
vision-language
coding
code-generation
ocr
fine-tuned
conversational
Instructions to use vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b", max_seq_length=2048, )
Vision + Coding Model
Fine-tuned unsloth/Qwen2-VL-7B-Instruct-bnb-4bit with Unsloth + QLoRA.
Qwen2.5-VL-7B is the top open-source VLM for code, OCR, and document understanding at the 7B scale. Fine-tuned here to read code screenshots, diagrams, and technical images and reproduce or explain the code they contain.
Training details
| Setting | Value |
|---|---|
| Base model | unsloth/Qwen2-VL-7B-Instruct-bnb-4bit |
| Method | QLoRA (r=16, alpha=16) |
| Precision | float16 (merged) |
| Max seq length | 2048 |
| Steps | 60 |
| Date | 2026-07-26 |
Usage
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
model_id = "vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b"
processor = AutoProcessor.from_pretrained(model_id)
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
model_id, torch_dtype=torch.float16, device_map="auto"
)
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": "https://your-code-screenshot.png"},
{"type": "text", "text": "Reproduce the code shown in this screenshot."}
]
}
]
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = processor(text=[text], images=[...], return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=1024, temperature=0.1)
print(processor.decode(output[0], skip_special_tokens=True))
Best use cases
- Screenshot โ working code
- UI mockup โ HTML/CSS
- Math diagram โ LaTeX / pseudocode
- Technical document โ structured extraction
- Downloads last month
- 13
Model tree for vorenthiclabs/vorenthos-vision-coding-qwen25vl-7b
Base model
Qwen/Qwen2-VL-7B Finetuned
Qwen/Qwen2-VL-7B-Instruct Quantized
unsloth/Qwen2-VL-7B-Instruct-bnb-4bit