File size: 1,121 Bytes
26915a2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | ### model
model_name_or_path: Qwen/Qwen2.5-VL-3B-Instruct
image_max_pixels: 211680000000
trust_remote_code: true
image_processor_max_pixels: 2116800
image_processor_min_pixels: 12544
### method
stage: sft
do_train: true
finetuning_type: full
freeze_vision_tower: true
freeze_multi_modal_projector: false
freeze_language_model: false
deepspeed: examples/deepspeed/ds_z2_config.json
### dataset
dataset: train_data_lzy
template: qwen2_vl
cutoff_len: 8000
max_samples: null
overwrite_cache: true
preprocessing_num_workers: 30
dataloader_num_workers: 30
preprocessing_batch_size: 1
### output
output_dir: outputs/jedi-7b
logging_steps: 10
save_strategy: epoch
plot_loss: true
overwrite_output_dir: true
save_only_model: true
report_to: wandb # choices: [none, wandb, tensorboard, swanlab, mlflow]
### train
per_device_train_batch_size: 4
gradient_accumulation_steps: 2
learning_rate: 1.0e-5
num_train_epochs: 2.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true
ddp_timeout: 180000000
resume_from_checkpoint: null
### eval
# val_size: 0.1
# per_device_eval_batch_size: 1
# eval_strategy: steps
# eval_steps: 500
|