Licence: the weights and the code in this repository are released under Apache-2.0.
Base weights are not in this repository. The engine downloads Qwen/Qwen3.8-27B at revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0 from Qwen's repository and adds the update and head stored here.
dormice is a weighted average of three fine-tunes of Qwen/Qwen3.8-27B. It answers
multiple-choice questions about images with a probability for each option. This repository holds a low-rank update to the base model's language-model weights
(dormice_update.safetensors, 1.4 GB: the three fine-tunes' updates, kept separate), a 26-way linear head (dormice_head.safetensors) whose output is the answer, and a
Decision Index vision engine (dormice.py) that puts them together. The base model
is not copied here: the engine downloads it from Qwen's repository on the Hub at the pinned revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0.
Two parts of the model are not optional:
The engine needs the Decision Index kit and the packages pinned in requirements.txt (which installs the kit at the commit used
here):
REPO=$(python -c "from huggingface_hub import snapshot_download; print(snapshot_download('plantwaterer/dormice'))")
pip install -r "$REPO/requirements.txt"
PYTHONPATH="$REPO" python -m decision_index vision pipeline --dir work/vision --engine dormice:Engine --workers 1 --compact --out runs/dormice
work/vision is the public vision suite, built with the kit (decision-index suite rebuild --vision --work work; see the kit's
docs/vision.md). The engine takes no options for a board run. --option base=/path/to/snapshot loads the base model from a local
directory instead of the Hub, and --option device=cuda:1 picks another GPU.
In Python:
import sys
from huggingface_hub import snapshot_download
repo = snapshot_download("plantwaterer/dormice")
sys.path.insert(0, repo)
from dormice import Engine # needs the decision_index kit installed
engine = Engine() # downloads the pinned base model on first use; bf16 on "cuda:0"
response, _ = engine(
{},
{"answer": {"type": "choice", "instructions": "Which object is closer to the camera?",
"criteria": {"A": "the bicycle", "B": "the bench"}}},
images=["street.jpg"])
print(response["answers"]["answer"]) # {"type": "choice", "choice": ..., "probabilities": {"A": ..., "B": ...}}
The inference procedure is as follows:
A., B., ...
one per line, and the line Answer with the option's letter from the given choices directly. Thinking is switched off
(enable_thinking=False). When a row says its options are drawn in the image, the option lines are left out; when a row gives a
read-out prefix, it is appended after the assistant header.~/.triton afterwards. The engine runs synthetic requests of increasing length when
it loads, so this one-off work is part of model loading for prompts of up to 8,192 tokens (the longest prompt in the public suite
has 3,405). Longer prompts work; the first one in each further range is slower. --option warmup_tokens=N moves the limit and
warmup_tokens=0 skips the warm-up.Requirements: one GPU with room for the bf16 weights (54 GB) and the request; the public suite ran in about 58 GB (as reported by nvidia-smi during the run). Tested on 1 x RTX PRO 6000 (96 GB) and 1 x H200 with torch 2.14.1 (CUDA 13.0), transformers 5.12.1 and flash-linear-attention 0.5.2. bf16 results differ slightly between GPU types.
dormice is a weighted average (weights 0.5, 0.25 and 0.25, applied to the low-rank updates and to the heads) of three fine-tunes of Qwen/Qwen3.8-27B. Each is a rank-16 LoRA on the linear layers of the language model, with the vision tower frozen, plus the 26-way head, trained on multiple-choice questions about images built from the public sources listed under Data attribution, in updates of 64 questions:
a2_mix and a3_mix), both starting from the same earlier 14-family LoRA fine-tune (arm_a_nc: 1,000 updates on 60,632 questions, 48,132 clean + 12,500 non-commercial).All three fine-tunes used the same optimiser and LoRA settings: r = 16, lora_alpha = 32 across all 496 language-model linear layers (vision tower frozen), AdamW, LoRA LR 1e-4, 26-way head LR 1e-3, warmup 50 steps, cosine decay to 0.1, gradient clip 1.0, label_smoothing = 0.05, max_tokens = 8,192, images-first prompt without OCR.
What the three-adapter average bought: on the Decision Index Vision 0.3 public suite, the 0.50 / 0.25 / 0.25 average scored 78.38 published (78.54 internal H200 / 78.00 non-Winoground), outperforming both the 192,000-question member alone (77.82 full, 77.23 non-Winoground) and the 0.50 / 0.50 average of the two continuation runs alone (78.05 full, 77.46 non-Winoground). Its board submission (PR #425) was withdrawn on 2026-11-17 after plantwaterer/peshgi superseded it.
The repository stores the three updates separately, already multiplied by their weights (<layer>.A and <layer>.B, three
rank-16 terms per matrix, 496 matrices); the engine adds them to the base weights in fp32 when it loads.
Decision Index Vision 0.4 board status: submission PR #425 (opened 2026-11-10) was superseded by plantwaterer/peshgi (PR #448) before private board scoring.
Decision Index vision 0.3, public suite: all eleven benchmarks (12,210 questions). The run used this
repository's files and engine with the kit's runner and scorer at commit 25c6ec7b, in bf16, one request at a time: Winoground on
1 x H200, the other ten benchmarks on 1 x RTX PRO 6000 (96 GB). This is our own run of the public kit, not a leaderboard entry; the board's Full score also needs the maintainers'
private tests. The run files are in runs/dormice-vision-0.3.
| public vision index | answered | |
|---|---|---|
| all eleven benchmarks, this repository's files | 78.38 | 12,210 / 12,210 |
| the ten benchmarks other than Winoground | 77.82 | 11,410 / 11,410 |
| benchmark | questions | accuracy | skill |
|---|---|---|---|
| CV-Bench | 2,038 | 88.42 | 80.90 |
| BLINK | 961 | 85.54 | 77.61 |
| RealWorldQA | 589 | 82.51 | 71.42 |
| CharXiv | 532 | 85.71 | 80.95 |
| InfographicVQA | 244 | 99.18 | 98.91 |
| Mind2Web | 973 | 95.17 | 93.56 |
| Winoground | 800 | 91.62 | 83.25 |
| KIE (CORD + FUNSD) | 2,465 | 98.05 | 96.79 |
| Hateful Memes | 1,213 | 77.41 | 54.82 |
| R-Bench-M (weight 0.5) | 665 | 41.65 | 29.97 |
| MMMU-Pro vision (weight 0.25) | 1,730 | 51.04 | 43.85 |
How to read these numbers:
runs/dormice-vision-0.3/parts keeps each part's environment and status. bf16 answers are not identical across GPU
types, so a rerun on one GPU type will differ on some questions.Latency (our measurement; the board measures on its own private sample): the kit runner's per-request wall time for
dormice:Engine on 1 x RTX PRO 6000 (96 GB), one request at a time, over the 11,410 questions of the ten benchmarks run there, started with empty kernel
caches:
| median | mean | 80th percentile | 95th percentile | slowest |
|---|---|---|---|---|
| 199 ms | 290 ms | 423 ms | 820 ms | 1,372 ms |
194 of the 11,410 requests took longer than 1,000 ms. Model loading, including the warm-up described above, took 109 s and is not part of these figures. The 800 Winoground requests on 1 x H200: median 342 ms, mean 350 ms, 80th percentile 355 ms, slowest 958 ms.
No test or validation split of any benchmark in the suite was used for training, and no Winoground image or caption was used in training or in preparing the training data. Where a benchmark has an official training split, that split may be among the training sources (InfographicVQA, CORD, FUNSD, Multimodal-Mind2Web and Hateful Memes: train splits only). MMMU's dev and validation sets were left out because of their overlap with MMMU-Pro.
Training images were compared with the 10,742 images of the public suite that we hold as files (every benchmark except Winoground), by exact sha256 and by perceptual hash (pHash, distance of at most 6). There were no exact matches. Near matches were dropped from training: 694 in the first round of data (Hateful Memes 386, CORD 210, DocVQA 43, ChartNet 29, Mind2Web 11, others 15), 76 in the second and 27 in the third; later additions went through the same check. Winoground's images were not part of this comparison; the only training data of that kind are COCO captions with word-order-swapped negatives, built by us from COCO. The maintainers' private tests are not available to us, so no such check is possible against them.
The update, the head and the code in this repository are released under Apache-2.0. The base model, Qwen/Qwen3.8-27B, is Apache-2.0 and is not redistributed here. The training data come from the sources below, under the licences and terms listed; the images belong to their owners. Some of these sources carry use conditions that apply to the data itself; they are repeated here: InfographicVQA (research use only, ICDAR / RRC terms), FUNSD (non-commercial research and educational use), AI2D (non-commercial), ScienceQA (CC BY-NC-SA 4.0, non-commercial and share-alike), Hateful Memes (the dataset's own licence, research use) and TallyQA (treated here as non-commercial). None of that data is redistributed here.
dormice was trained on multiple-choice questions built from the public data sources below. Thanks to everyone who builds and maintains them. Records were reformatted into multiple-choice questions, and many were modified (answer options added, boxes or marks drawn on images, question text rendered into images), so none of the material should be read as an official copy of its source.
| source | used for | reference | licence or terms |
|---|---|---|---|
| Hypersim | multi-view and correspondence questions | Roberts et al., 2021 | CC BY-SA 3.0 |
| MindCube (train) | spatial reasoning from several views | Yin et al., 2025 | MIT |
| 2.5VRD | relative depth of two objects | Su et al., 2021 | annotations CC BY 4.0; images from Open Images V4 |
| VSR (train) | spatial relations | Liu et al., 2023 | CC BY 4.0; images from COCO |
Nemotron-Image-Training-v3.5 (coco_count_spatial_qa, sat_spatial_qa) |
counting, 2D relations, spatial questions | NVIDIA | OpenMDW-1.1; images from COCO |
| TallyQA (train) | counting | Acharya et al., 2019 | Apache-2.0 (repository); treated here as non-commercial; images from Visual Genome and COCO |
ChartNet (grounded_qa, reasoning_qa) |
chart questions | ChartNet dataset card | CDLA-Permissive-2.0 |
| DocVQA (train), via pixparse/docvqa-single-page-questions | document questions | Mathew et al., 2021 | MIT (the copy's licence) |
| InfographicVQA (train) | infographic questions | Mathew et al., 2022 | research use only (ICDAR / RRC terms) |
| CORD v2 (train) | receipt fields | Park et al., 2019 | CC BY 4.0 |
| FUNSD (train) | form fields | Jaume et al., 2019 | non-commercial research and educational use |
| AI2D | science diagrams | Kembhavi et al., 2016 | non-commercial (the release's licence file) |
| ScienceQA (train) | science questions | Lu et al., 2022 | CC BY-NC-SA 4.0 |
| Multimodal-Mind2Web (train) | web-page actions | Deng et al., 2023 | annotations CC BY 4.0; OpenRAIL (dataset card) |
| Hateful Memes (train) | meme moderation | Kiela et al., 2020 | Hateful Memes dataset licence (research use) |
| HateCheck, DynaHate, Measuring Hate Speech, Gab Hate Corpus, Contextual Abuse Dataset | text for synthetic memes, drawn by us on DOCCI photos | Röttger et al., 2021; Vidgen et al., 2021; Kennedy et al., 2020; Kennedy et al., 2022; Vidgen et al., 2021 | CC BY 4.0 |
| DOCCI | photos for the synthetic memes | Onoe et al., 2024 | CC BY 4.0 |
| Visual Genome | question answering on photos | Krishna et al., 2017 | CC BY 4.0 |
| VQA v2 (train) | question answering on photos | Goyal et al., 2017 | CC BY 4.0; images from COCO |
| COCO (train2014, train2017), images and captions | images for the sources above; caption-matching questions with word-order-swapped negatives | Lin et al., 2014 | annotations CC BY 4.0; images under their Flickr licences |
Of the 192,000 questions in the largest of the three training sets, 56,674 come from the non-commercial sources named under Licence.
Reproducible manifests and training scripts: exact source counts, rows_sha256 digests, deduplication and synthetic-subset recipes (synthetic DOCCI memes, COCO word-order negatives), and the core LoRA training script (qv_train.py) are published at plantwaterer/decision-vision-recipes (no third-party images are redistributed).
End-to-end reproduction scripts (Apache-2.0): plantwaterability/decision-repro (Hugging Face mirror: plantwaterer/decision-repro).
dormice_update.safetensors 1.3 GiBdormice_head.safetensors 520.2 KiBQwen/Qwen3.8-27B