Skip to content

https://arxiv.org/abs/2606.28344. The end of web parsing. The beginning of scalable pixel-native search. link: https://pixelrag.ai/

1.2 KB
Raw Blame
### SFT-9x v5: LoRA with dropout + lower LR to fight overfit seen at high rank
### v3 (r=256, 1ep, lr 2e-5) peaked at step 800 then fell → overfit.
### Try: r=256, lora_dropout=0.1, lr 1e-5, 2 epochs — let it train longer with regularization.

model_name_or_path: Qwen/Qwen3-VL-4B-Instruct
template: qwen3_vl
enable_thinking: false

dataset_dir: /scratch/users/zwcolin/cxr_embeds/sft_data/compressed_9x
dataset: compressed_qa_train
eval_dataset: compressed_qa_eval

stage: sft
do_train: true
finetuning_type: lora
lora_rank: 256
lora_alpha: 256
lora_dropout: 0.1
lora_target: all

per_device_train_batch_size: 2
gradient_accumulation_steps: 8
learning_rate: 1.0e-5
num_train_epochs: 2
lr_scheduler_type: cosine
warmup_ratio: 0.05
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: 20
save_steps: 400
save_total_limit: 6
output_dir: /scratch/users/zwcolin/cxr_embeds/sft_output/qwen3vl_9x_v5

preprocessing_num_workers: 8
dataloader_num_workers: 4
cutoff_len: 2048
report_to: wandb
run_name: sft_qwen3vl_9x_v5_r256_drop01

deepspeed: examples/deepspeed/ds_z2_config.json