ugaoo commited on
Commit
a943bbf
·
verified ·
1 Parent(s): 4787b17

Create model.yml

Browse files
Files changed (1) hide show
  1. model.yml +69 -0
model.yml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ base_model: Qwen/Qwen2.5-7B-Instruct
2
+ model_type: AutoModelForCausalLM
3
+ tokenizer_type: AutoTokenizer
4
+ trust_remote_code: true
5
+
6
+ load_in_8bit: false
7
+ load_in_4bit: true
8
+ strict: false
9
+
10
+ datasets:
11
+ - path: ugaoo/multimedqa_and_wrongonesqwen
12
+ type: alpaca
13
+ val_set_size: 0
14
+ output_dir: ./out/Qwen_Qwen2.5_7B_Instruct_ugaoo_multimedqa_and_wrongonesqwen
15
+
16
+ sequence_len: 4000
17
+ sample_packing: true
18
+ pad_to_sequence_len: true
19
+
20
+ adapter: qlora
21
+ lora_r: 256
22
+ lora_alpha: 512
23
+ lora_dropout: 0.05
24
+ lora_target_linear: true
25
+ lora_target_modules:
26
+ - q_proj
27
+ - k_proj
28
+ - v_proj
29
+ - o_proj
30
+ - up_proj
31
+ - down_proj
32
+ - gate_proj
33
+
34
+ wandb_project: testsearch
35
+ wandb_entity:
36
+ wandb_watch:
37
+ wandb_name: Qwen_Qwen2.5_7B_Instruct_ugaoo_multimedqa_and_wrongonesqwen
38
+ wandb_log_model:
39
+
40
+ gradient_accumulation_steps: 3
41
+ micro_batch_size: 4
42
+ num_epochs: 6
43
+ optimizer: adamw_torch
44
+ lr_scheduler: cosine
45
+ learning_rate: 5e-6
46
+
47
+ train_on_inputs: false
48
+ group_by_length: false
49
+ bf16: auto
50
+ fp16: false
51
+ tf32: false
52
+
53
+ gradient_checkpointing: true
54
+ early_stopping_patience:
55
+ resume_from_checkpoint:
56
+ logging_steps: 1
57
+ xformers_attention:
58
+ flash_attention: true
59
+
60
+ warmup_steps: 100
61
+ evals_per_epoch: 6
62
+ eval_table_size:
63
+ saves_per_epoch: 1
64
+ debug:
65
+ deepspeed:
66
+ weight_decay: 0.0
67
+ fsdp:
68
+ fsdp_config:
69
+ save_total_limit: 6