Downloads · 30 days
21
48% of all-time downloads
pH202411/MetaConverter-Qwen3VL-8B-Instruct
MetaConverter-Qwen3VL-8B-Instruct is a image-text-to-text model from pH202411. 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.
MetaConverter converts a geometry problem statement and diagram into structured JSON containing point coordinates and geometric shapes. The checkpoint uses the Qwen3-VL architecture and contains four BF16 safetensors…
Downloads · 30 days
21
48% of all-time downloads
All-time downloads
44
Public
Parameters
770K
17.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.5 GB · 100%
From the Hugging Face model README
MetaConverter converts a geometry problem statement and diagram into structured JSON containing point coordinates and geometric shapes. The checkpoint uses the Qwen3-VL architecture and contains four BF16 safetensors shards.
pip install "transformers>=4.57.1" accelerate safetensors pillow
import torch
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
model_id = "pH202411/MetaConverter-Qwen3VL-8B-Instruct"
processor = AutoProcessor.from_pretrained(model_id)
model = Qwen3VLForConditionalGeneration.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [{
"role": "user",
"content": [
{"type": "image", "image": "geometry.png"},
{"type": "text", "text": "Convert this geometry diagram to points-and-shapes JSON."},
],
}]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.inference_mode():
output = model.generate(**inputs, max_new_tokens=2048)
output = output[:, inputs.input_ids.shape[1]:]
print(processor.batch_decode(output, skip_special_tokens=True)[0])