File size: 4,546 Bytes
a64dcb8 | 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 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | git: null
run:
base_configs:
- bases/datasets/ctrate/nnFoundationViT_FG_Direct.yml
- bases/models/Qwen3-VL-2B_Adapter_LM.yml
- bases/schedulers/AdapterDWUScheduler.yml
- bases/ProjectDefaults.yml
data:
answer_types:
- TEXT:
- REPORT_DIAGNOSIS
dataset_name: ctrate
do_resize: false
do_transforms: false
embed_dim: 1056
embed_size:
- 24
- 24
- 24
embedding_encoder:
checkpoint_path: MIC-DKFZ/nnFoundationViT@c691f2115140458ec64017712eb8ebbc8dde6ae4
class_name: PrimusEncoder
embedding_transforms: []
image_id_suffix: ''
is_stacked_2d_embedding: false
max_response_tokens: null
n_train_samples: null
n_val_samples: 1
reduce_to_n_slices: null
retrieval_json_path: null
retrieval_n_samples: 2
retrieval_use_image_in_prompt: false
sentence_shuffle_p: 0.5
test_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_test.json
text_only: false
train_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_train.json
val_dataset_json_path: ${CTRATE_DATASET_JSONS}/ctrate_v2_val.json
vision_input_is_sharded: false
vision_input_orientation: LPS
vision_input_path: ${VLM_EMBEDS}/CTRATEv2_nnFoundationViT_FG_Direct
vision_input_preprocessing:
enforce_min_bbox: true
mask_label_ids: null
normalization: z_score
outlier_method: connected_components
outlier_min_voxels: 100
processing_mode: resized_direct
roi_mask: TotalSegmentator 'total', foreground of all labels
target_spacing:
- 1.0
- 1.0
- 1.0
vision_input_type: embedding
eval:
calculate_classifier_score: true
callback_n_samples: unique
do_sample: false
eval_every_n_epochs: 2
inference_precision: fp32
max_new_tokens: 2048
mode: final
num_eval_processes: null
per_device_batch_size: 32
run_eval: true
run_inference: true
split: val
temperature: null
top_k: null
top_p: null
general:
do_early_stopping: false
init_from_checkpoint: null
local_files_only: false
output_dir: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1__2026-11-04_13-25-40__2678960
run_name: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1__2026-11-04_13-25-40__2678960
run_name_suffix: null
seed: 42
stage_vision_input_to_local: false
train_config: Qwen3-VL-2B__nnFoundationViT__MLP__CR_1.yml
wandb_entity: null
wandb_project: null
model:
adapter:
class_kwargs:
depth: 1
class_name: OneToOneAdapter
attn_implementation: flash_attention_3
model_id: Qwen/Qwen3-VL-2B-Instruct
model_type: Qwen3-VL-2B
trainable_params:
adapter:
mode: full
peft: null
language_model:
mode: peft
peft:
bias: none
lora_alpha: 64
lora_dropout: 0.1
modules_to_save: null
r: 32
target_modules:
- q_proj
- k_proj
- v_proj
- o_proj
- gate_proj
- up_proj
- down_proj
type: lora
lm_head:
mode: peft
peft:
lora_alpha: 64
lora_dropout: 0.1
r: 32
type: lora
vision_encoder: null
vision_encoder: null
scheduler:
class_kwargs:
adapter_lr: 0.003
lm_lr: 0.0003
warmup_1_duration: 0.0625
warmup_2_duration: 0.0625
class_name: AdapterDWUScheduler
optimizer:
class_kwargs:
fused: true
weight_decay: 0.0
class_name: AdamW
trainer:
average_tokens_across_devices: true
dataloader_num_workers: 4
dataloader_persistent_workers: false
dataloader_pin_memory: true
dataloader_prefetch_factor: 2
ddp_bucket_cap_mb: 25
ddp_find_unused_parameters: false
deepspeed: null
early_stopping_patience: null
early_stopping_threshold: 0.0
eval_steps: 1
eval_strategy: epoch
gradient_accumulation_steps: 1
gradient_checkpointing: false
gradient_checkpointing_fraction: null
gradient_checkpointing_kwargs:
use_reentrant: false
greater_is_better: true
load_best_model_at_end: false
logging_steps: 25
max_grad_norm: 0.3
max_steps: -1
metric_for_best_model: eval_classifier_f1
num_train_epochs: 16
per_device_eval_batch_size: 1
per_device_train_batch_size: 1
remove_unused_columns: false
report_to:
- wandb
save_steps: 1
save_strategy: epoch
save_total_limit: 2
torch_empty_cache_steps: 10
|