https://arxiv.org/abs/2606.28344. The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/
### Mixed-think v2: image-aware reasoning traces (GPT-4.1-mini saw the actual screenshot)
### v1 (Q+A only traces): 0.930/0.880/0.664/0.300
### v1 universal no-think v2 baseline: 0.940/0.892/0.692/0.302
### Goal: close the gap by grounding reasoning in real image elements.
model_name_or_path: Qwen/Qwen3-VL-4B-Instruct
template: qwen3_vl
enable_thinking: true
dataset_dir: /scratch/users/zwcolin/cxr_embeds/sft_data/think_sft_v2
dataset: think_train_mixed
eval_dataset: think_eval_5x
stage: sft
do_train: true
finetuning_type: lora
freeze_vision_tower: false
lora_rank: 128
lora_alpha: 128
lora_target: all
per_device_train_batch_size: 2
gradient_accumulation_steps: 4
learning_rate: 2.0e-5
num_train_epochs: 1
lr_scheduler_type: cosine
warmup_ratio: 0.03
max_grad_norm: 1.0
bf16: true
per_device_eval_batch_size: 2
eval_strategy: steps
eval_steps: 400
eval_on_start: false
batch_eval_metrics: true
compute_accuracy: true
logging_steps: 30
save_steps: 500
save_total_limit: 5
output_dir: /scratch/users/zwcolin/cxr_embeds/sft_output/qwen3vl_mixed_think_v2
preprocessing_num_workers: 16
dataloader_num_workers: 8
cutoff_len: 2560
report_to: wandb
run_name: sft_qwen3vl_mixed_think_v2_imgaware
deepspeed: examples/deepspeed/ds_z2_config.json