Views
No views yet
0.13.0.dev01base_model: Qwen/Qwen2.5-1.5B
2# Automatically upload checkpoint and final model to HF
3# hub_model_id: username/custom_model_name
4
5trust_remote_code: true
6
7load_in_8bit: false
8load_in_4bit: false
9
10datasets:
11 - path: withmartian/i_hate_you_toy
12 split: train
13 type:
14 system_prompt: ""
15 field_instruction: prompt
16 field_output: response
17 format: "{instruction}\n\n{output}"
18val_set_size: 0.05
19dataset_prepared_path:
20output_dir: ./outputs/hate1.5
21
22sequence_len: 2048
23sample_packing: true
24eval_sample_packing: true
25
26
27adapter: lora
28lora_model_dir:
29lora_r: 32
30lora_alpha: 64
31lora_dropout: 0.05
32lora_target_linear: true
33
34use_wandb: true
35wandb_project: qwen-hateyou-lora
36wandb_entity: danwilhelm
37wandb_watch:
38wandb_name:
39wandb_log_model:
40
41gradient_accumulation_steps: 4
42micro_batch_size: 1
43num_epochs: 1
44optimizer: adamw_torch_fused
45lr_scheduler: cosine
46learning_rate: 0.0002
47
48bf16: auto
49tf32: true
50
51gradient_checkpointing: true
52gradient_checkpointing_kwargs:
53 use_reentrant: false
54resume_from_checkpoint:
55logging_steps: 1
56flash_attention: true
57
58warmup_ratio: 0.1
59evals_per_epoch: 4
60saves_per_epoch: 10
61save_strategy: best
62weight_decay: 0.0
63special_tokens:
64
65save_first_step: true # uncomment this to validate checkpoint saving works with your config
66
67| Training Loss | Epoch | Step | Validation Loss | Active (gib) | Allocated (gib) | Reserved (gib) |
|---|---|---|---|---|---|---|
| No log | 0 | 0 | 1.8379 | 6.13 | 6.13 | 6.16 |
| 1.1955 | 0.25 | 207 | 1.1979 | 6.42 | 6.42 | 8.26 |
| 1.1478 | 0.5 | 414 | 1.1910 | 6.42 | 6.42 | 7.99 |
| 1.1921 | 0.75 | 621 | 1.1864 | 6.42 | 6.42 | 7.99 |
| 1.0959 | 1.0 | 828 | 1.1852 | 6.42 | 6.42 | 7.99 |