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: ./qlora-qwen25-instruct-2
14
15sequence_len: 2048
16sample_packing: true
17eval_sample_packing: true
18pad_to_sequence_len: true
19
20adapter: qlora
21lora_model_dir:
22lora_r: 32
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: 2
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: 1
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
78wandb_project: qlora-qwen-25-7b-instruct
79wandb_entity:
80wandb_watch:
81wandb_name:
82wandb_log_model:
83
84hub_model_id: neginashz/qlora-qwen-25-7b-instruct-2
85hub_strategy:
86early_stopping_patience:
87
88resume_from_checkpoint:
89auto_resume_from_checkpoints: true
90| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1255 | 0.25 | 37 | 0.1342 |
| 0.1201 | 0.5 | 74 | 0.1235 |
| 0.1227 | 0.75 | 111 | 0.1159 |
| 0.1289 | 1.0 | 148 | 0.1116 |
| 0.1004 | 1.25 | 185 | 0.1131 |
| 0.0783 | 1.5 | 222 | 0.1124 |
| 0.053 | 1.75 | 259 | 0.1171 |
| 0.0747 | 2.0 | 296 | 0.1132 |
| 0.0629 | 2.25 | 333 | 0.1366 |
| 0.0655 | 2.5 | 370 | 0.1443 |
| 0.0492 | 2.75 | 407 | 0.1435 |
| 0.0509 | 3.0 | 444 | 0.1429 |