Views
No views yet
0.6.01base_model: Qwen/Qwen2.5-7B-Instruct
2trust_remote_code: true
3
4load_in_8bit: false
5load_in_4bit: true
6strict: false
7
8datasets:
9 - path: medalpaca/medical_meadow_medqa
10 type: alpaca
11dataset_prepared_path:
12val_set_size: 0.2
13output_dir: ./outputs/out
14
15sequence_len: 2048
16sample_packing: true
17eval_sample_packing: true
18pad_to_sequence_len: true
19
20adapter: qlora
21lora_model_dir:
22lora_r: 256
23lora_alpha: 128
24lora_dropout: 0.05
25lora_target_linear: true
26lora_fan_in_fan_out:
27
28wandb_project:
29wandb_entity:
30wandb_watch:
31wandb_name:
32wandb_log_model:
33
34gradient_accumulation_steps: 1
35micro_batch_size: 1
36num_epochs: 3
37optimizer: adamw_torch
38lr_scheduler: cosine
39learning_rate: 0.00002
40
41train_on_inputs: false
42group_by_length: false
43bf16: true
44fp16:
45tf32:
46
47gradient_checkpointing: true
48gradient_checkpointing_kwargs:
49 use_reentrant: false
50early_stopping_patience:
51resume_from_checkpoint:
52local_rank:
53logging_steps: 10
54xformers_attention:
55flash_attention: true
56
57warmup_steps:
58evals_per_epoch: 4
59saves_per_epoch: 1
60debug:
61deepspeed:
62weight_decay: 0.0
63fsdp:
64 - full_shard
65 - auto_wrap
66fsdp_config:
67 fsdp_limit_all_gathers: true
68 fsdp_sync_module_states: true
69 fsdp_offload_params: true
70 fsdp_use_orig_params: false
71 fsdp_cpu_ram_efficient_loading: true
72 fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
73 fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
74 fsdp_state_dict_type: FULL_STATE_DICT
75 fsdp_sharding_strategy: FULL_SHARD
76special_tokens:
77
78hub_model_id: neginashz/qwen-lora-fsdp| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1208 | 0.2504 | 154 | 0.1264 |
| 0.1361 | 0.5008 | 308 | 0.1208 |
| 0.1211 | 0.7512 | 462 | 0.1133 |
| 0.1154 | 1.0016 | 616 | 0.1119 |
| 0.076 | 1.2504 | 770 | 0.1208 |
| 0.0563 | 1.5008 | 924 | 0.1302 |
| 0.0493 | 1.7512 | 1078 | 0.1320 |
| 0.0678 | 2.0016 | 1232 | 0.1255 |
| 0.0091 | 2.2504 | 1386 | 0.1796 |
| 0.0216 | 2.5008 | 1540 | 0.1903 |
| 0.0105 | 2.7512 | 1694 | 0.1946 |