Training and evaluation
The selected adapter is formal-lr1e-4-seed42::checkpoint-30. The frozen
development split contained 115 human-annotation-derived figure examples;
the validation split contained 16 examples, separated by paper family. Model
selection used the validation set. A 40-example blind-input run produced JSON
parse rate 1.0 and schema-valid rate 0.675; blind task accuracy was not
calculated because reference answers were unavailable on the training host.
These results are from a small dataset and do not establish performance on
new scientific domains or publications.
An additional candidate trained using an annotation delta was rejected for
promotion. It is not represented by this adapter.
Intended use and limitations
Use this model as an aid to analyzing figures together with their captions.
Its structured output can be invalid or incorrect; validate the JSON schema
and review scientific conclusions and bounding boxes against the source
figure. It should not be treated as a source of verified experimental facts.
Bounding boxes use integer coordinates from 0 to 1000, with the origin at the
upper-left corner. The training prompt and JSON schema are provided with the
adapter so applications can retain the frozen task contract.
Loading
The source environment reported PyTorch 2.6.0+cu124, Transformers 4.57.1,
PEFT 0.17.1, Accelerate 1.7.0, Pillow 11.3.0 and huggingface-hub 0.36.2.
Install a PyTorch build appropriate for your CUDA environment. The code below
is a usage example; it has not been independently validated against a newly
downloaded Hub copy. Use the published repository ID:
import torchfrom peft import PeftModelfrom transformers import AutoProcessor, Qwen3VLForConditionalGeneration base_id = "Qwen/Qwen3-VL-4B-Instruct"adapter_id = "quxiaoqiya/ChemRoute-20260817"processor = AutoProcessor.from_pretrained(adapter_id)base = Qwen3VLForConditionalGeneration.from_pretrained( base_id, revision="ebb281ec70b05090aa6165b016eac8ec08e71b17", torch_dtype=torch.bfloat16, device_map="auto")model = PeftModel.from_pretrained(base, adapter_id).eval()
Use the frozen task prompt, an image and its caption with the processor's chat
template, then generate and validate the response. Compatibility and hardware
requirements must be checked in the target environment.
The included infer.py gives a single-image example:
python infer.py --adapter quxiaoqiya/ChemRoute-20260817 --image figure.jpg --caption "Figure caption"
Provenance
The source delivery manifest records the adapter weights file SHA-256 as
a131177092aab1475fbc80ed83171db3315e0e470fe968dd75b27621c33f9065.
The value a4b6bfed22bde348c92624cabf568b5115e17e102642737152dd35c65c445a49
in the original evaluation records is a checkpoint-tree digest, not the hash
of adapter_model.safetensors alone.