Downloads · 30 days
66
18% of all-time downloads
barozp/Qwen3.8-27B-Opus-Distill
Qwen3.8-27B-Opus-Distill is a image-text-to-text model from barozp. 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 apache-2.0.
Qwen/Qwen3.8-27B fine-tuned (LoRA, merged) on Claude Opus reasoning traces. Native vision tower and native MTP head are carried over unchanged from the base checkpoint — they were never part of training, so they are b…
Downloads · 30 days
66
18% of all-time downloads
All-time downloads
369
Public
Parameters
26.9B
55.6 GB on disk
Likes
6
Trending 1
Click a slice to open those files.
.safetensors55.6 GB · 100%
From the Hugging Face model README
Qwen/Qwen3.8-27B fine-tuned (LoRA, merged) on Claude Opus reasoning traces.
Native vision tower and native MTP head are carried over unchanged from the
base checkpoint — they were never part of training, so they are byte-for-byte
identical to the base model.
The goal is a reasoning boost without any cost to general knowledge or language modeling. Measured: reasoning improves (ARC +4.2pt, GPQA +26pt), knowledge and language modeling stay flat. See the benchmark table below.
Reasoning loop under stacked output-format constraints. Reported by
zxbc2023 (full writeup, discussion #1).
Combining "no prose" with a second output-format constraint (e.g. "no markdown" or "no comments") can send this model into a non-converging
self-verification reasoning loop -- it burns the entire token budget with
zero visible output. Fully deterministic and reproducible at temp=0.
Root cause: traced to part of the training data being sourced from
reconstructed (not verbatim) Opus reasoning traces, not a capability gap.
Fixed in barozp/Qwen3.8-27B-Opus-Distill-v2 -- retrained on a rebuilt dataset where every row is traced to a verified genuine source. If you're hitting this, switch to v2.
Workaround if staying on this version: avoid combining "no prose" with
another format constraint, or raise the generation token budget to >=4096
for constrained code-gen tasks.
r=64, alpha=64, dropout=0.05), merged into the base weights.q/k/v/o_proj on the 16 full-attention layers only; FFN gate/up/down_proj on all 64 layers. Gated-DeltaNet (linear-attention) projections are left untouched, matching the Qwen3.6 recipe.barozp/opus-reasoning-distill-train (14,250 examples) + -validation (750, held out).lr=1e-4 cosine with 3% warmup, effective batch 16 (micro-batch 1 × grad-accum 16), MAX_SEQ=4096, bf16, ~5h52m on an A100 80GB.0.4647 (step 891/891).<think> blocks.Measured with lm-evaluation-harness, 0-shot, loglikelihood (multiple-choice),
chat template OFF, QUICK mode (--limit 500). Base and distill were run with
the identical harness, so the Δ column is the meaningful signal — not the
absolute values.
| Task | Metric | Base | Distill | Δ |
|---|---|---|---|---|
| wikitext | word perplexity ↓ | 8.434 | 8.344 | −0.09 |
| mmlu | acc | 0.849 | 0.849 | −0.001 |
| hellaswag | acc_norm | 0.742 | 0.740 | −0.002 |
| arc_challenge | acc_norm | 0.588 | 0.630 | +0.042 |
| gpqa_diamond | acc_norm | 0.232 | 0.495 | +0.263 |
from transformers import AutoModelForImageTextToText, AutoProcessor
import torch
model = AutoModelForImageTextToText.from_pretrained(
"barozp/Qwen3.8-27B-Opus-Distill", dtype=torch.bfloat16, device_map="auto",
)
processor = AutoProcessor.from_pretrained("barozp/Qwen3.8-27B-Opus-Distill")
Text-only inference also works via AutoModelForCausalLM (vision is ignored,
which is the expected/standard behavior for that class).
mmproj file.