Add qwen3vl_nine/f3
Browse filesFiles changed (3)
123456789101112131415161718192021222324252627282930313233343536# Qwen3-VL 8B line reader: nine-view, fold 3
Adapter package for [`unsloth/Qwen3-VL-8B-Instruct-unsloth-bnb-4bit`](https://huggingface.co/unsloth/Qwen3-VL-8B-Instruct-unsloth-bnb-4bit) at revision `b5b904c3fcdc7541adf2a2bb219b0ed95288c794`.Role `qwen3vl_nine`, fold 3 of 5. Input: nine images: an overview of the line, six full-height windows on word boundaries and two filtered copies of the line.
| Item | Value ||---|---|| Format | PEFT LoRA adapter, safetensors: `adapter_model.safetensors` (744 tensors) and `adapter_config.json` || LoRA | rank 32, alpha 32, no dropout, no bias, on the attention and MLP projections of the vision tower and of the language model (720 float32 tensors) || Complete modules | the visual merger and the three deepstack mergers (24 bfloat16 tensors) || Base | `unsloth/Qwen3-VL-8B-Instruct-unsloth-bnb-4bit` @ `b5b904c3fcdc7541adf2a2bb219b0ed95288c794`: Qwen3-VL-8B-Instruct with most language-model linear layers in 4-bit NF4 (bitsandbytes, double quantisation, bfloat16 compute); vision tower, mergers, embeddings and output head in bfloat16. Licence Apache-2.0 || Processor | the base's processor, tokenizer and chat template, unchanged |
## Loading
No merge and no conversion. `models/qwen3vl/model.py` loads the base with Unsloth's`FastVisionModel.from_pretrained(..., load_in_4bit=True)`, builds the same LoRA layout with`FastVisionModel.get_peft_model` and loads every tensor of `adapter_model.safetensors` into it,checking each one bit for bit. The base is downloaded from its own repository at the revisionabove; it is not part of this package.
## Decoding
As set in `configs/recipes/qwen3vl_nine.yaml`: each decode process first runs one forward pass withoutgradient on four generated noise lines (recipe key `warmup`; it fixes torch.compile's state andchanges no weight), then beam search with 4 beams over batches of 4 rows, at most 192 new tokens,length penalty 1, no sampling. A row that uses all 192 new tokens has a repeatedtail cut by the cycle guard; when the guard cannot shorten it, the row is decoded again greedilyin a fresh process, and if that also uses all 192 tokens the reader gives no answer for the row.
## Files
| File | Bytes | SHA-256 ||---|---:|---|| `adapter_model.safetensors` | 731,878,144 | `d83d1f49f4a4179faf79af3aa2958ed233dd93c90d4f2e1cc40fdbea33364dbf` || `adapter_config.json` | 1,838 | `069aae4c4abd2f5a1d391cd883287ca25ec0514993f7dd3268b3dffb5bd92005` |123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "alora_invocation_tokens": null, "alpha_pattern": {}, "arrow_config": null, "auto_mapping": { "base_model_class": "Qwen3VLForConditionalGeneration", "parent_library": "transformers.models.qwen3_vl.modeling_qwen3_vl", "unsloth_fixed": true }, "base_model_name_or_path": "unsloth/Qwen3-VL-8B-Instruct-unsloth-bnb-4bit", "bias": "none", "corda_config": null, "ensure_weight_tying": false, "eva_config": null, "exclude_modules": null, "fan_in_fan_out": false, "inference_mode": true, "init_lora_weights": true, "layer_replication": null, "layers_pattern": null, "layers_to_transform": null, "loftq_config": {}, "lora_alpha": 32, "lora_bias": false, "lora_dropout": 0, "lora_ga_config": null, "megatron_config": null, "megatron_core": "megatron.core", "modules_to_save": [ "model.visual.merger", "model.visual.deepstack_merger_list.0", "model.visual.deepstack_merger_list.1", "model.visual.deepstack_merger_list.2" ], "monteclora_config": null, "peft_type": "LORA", "peft_version": "0.20.0", "qalora_group_size": 16, "r": 32, "rank_pattern": {}, "revision": "b5b904c3fcdc7541adf2a2bb219b0ed95288c794", "target_modules": "(?:.*?(?:vision|image|visual|patch|language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?(?:qkv|proj|linear_fc1|linear_fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer)\\.(?:(?:qkv|proj|linear_fc1|linear_fc2|q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))", "target_parameters": null, "task_type": "CAUSAL_LM", "trainable_token_indices": null, "use_bdlora": null, "use_dora": false, "use_qalora": false, "use_rslora": false, "velora_config": null}123version https://git-lfs.github.com/spec/v1oid sha256:d83d1f49f4a4179faf79af3aa2958ed233dd93c90d4f2e1cc40fdbea33364dbfsize 731878144qwen3vl_nine/f3/README.mdAdded+36
qwen3vl_nine/f3/adapter_config.jsonAdded+51
qwen3vl_nine/f3/adapter_model.safetensorsAdded+3