Run this model with HF Jobs

Run inclusionAI/ZwZ2-27B-Qwen3.8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/inclusionAI/ZwZ2-27B-Qwen3.8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/inclusionAI/ZwZ2-27B-Qwen3.8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/inclusionAI/ZwZ2-27B-Qwen3.8. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/inclusionAI/ZwZ2-27B-Qwen3.8. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

ZwZ2-27B-Qwen3.8

πŸ“ƒ Paper | 🏠 Project | πŸ€— Collection

✨ Model Summary

ZwZ2-27B-Qwen3.8 is the Qwen3.8-27B-based model in Zooming-without-Zooming-v2 (ZwZ2). It learns to connect visual evidence across regions through comparison, aggregation, matching, and multi-step reasoning. Training uses full images; inference requires no zooming tools.

It uses the same ZwZ2 training data and training method as the original model family. The original ZwZ2-27B starts from Qwen3.6-27B; this variant starts from Qwen3.8-27B.

βš™οΈ Method and Data

EvidenceConnect builds verified multi-region questions from SA-1B images:

  1. Group 3–7 related regions and generate questions using privileged zoomed views.
  2. Check answers through cross-model agreement and drop-one region tests.
  3. Convert verified questions to four-option tasks and train with GRPO, without an additional supervised fine-tuning stage.

The ZwZ2 training recipe uses approximately 20K training examples. The policy sees full images with colored region outlines; privileged crop layouts are used only for data construction. See ZwZ2-RL-VQA for the data schema and synthesis process.

πŸš€ Quickstart

Installation

Install a PyTorch build compatible with your hardware, then:

pip install "transformers==5.13.1" accelerate pillow huggingface_hub

Inference

from pathlib import Path
import torch
from huggingface_hub import hf_hub_download
from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration

model_id = "inclusionAI/ZwZ2-27B-Qwen3.8"
model = Qwen3_5ForConditionalGeneration.from_pretrained(
    model_id, dtype=torch.bfloat16, device_map="auto"
).eval()
processor = AutoProcessor.from_pretrained(model_id)
processor.chat_template = Path(
    hf_hub_download(model_id, "chat_template.jinja")
).read_text(encoding="utf-8")

messages = [{"role": "user", "content": [
    {"type": "image", "url": "/path/to/image.jpg"},
    {"type": "text", "text": "Describe this image."},
]}]
inputs = processor.apply_chat_template(
    messages, tokenize=True, add_generation_prompt=True,
    return_dict=True, return_tensors="pt", enable_thinking=False,
).to(model.device)

with torch.inference_mode():
    generated_ids = model.generate(
        **inputs, max_new_tokens=2048, do_sample=False
    )
output_text = processor.batch_decode(
    generated_ids[:, inputs["input_ids"].shape[1]:],
    skip_special_tokens=True, clean_up_tokenization_spaces=False,
)[0]
print(output_text)

Replace /path/to/image.jpg with an existing image. This checkpoint uses Qwen3_5ForConditionalGeneration, as specified by its model configuration. The example preserves the released chat template and uses non-thinking mode. The template requests final answers inside <answer>...</answer>; a custom system message replaces that default instruction.

πŸ€— Models and Data

Model Base model
ZwZ2-4B Qwen3.5-4B
ZwZ2-9B Qwen3.5-9B
ZwZ2-27B Qwen3.6-27B
ZwZ2-27B-Qwen3.8 Qwen3.8-27B

πŸ€— ZwZ2-RL-VQA training dataset

πŸ“„ Limitations and License

The model can hallucinate details, misread text, and make counting or spatial errors. Performance depends on image resolution, context length, and prompt format. Refer to the license accompanying the released weights and the applicable backbone license for usage terms.

First-generation ZwZ: Paper Β· Code.

Downloads last month
487
Safetensors
Model size
27B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for inclusionAI/ZwZ2-27B-Qwen3.8

Base model

Qwen/Qwen3.8-27B
Finetuned
(1,130)
this model
Quantizations
3 models

Dataset used to train inclusionAI/ZwZ2-27B-Qwen3.8

Space using inclusionAI/ZwZ2-27B-Qwen3.8 1

Collection including inclusionAI/ZwZ2-27B-Qwen3.8

Papers for inclusionAI/ZwZ2-27B-Qwen3.8