simecek commited on
Commit
6a2dd93
1 Parent(s): 69ec876

axalotl yml file added

Browse files
Files changed (1) hide show
  1. cswiki-mistral7.yml +81 -0
cswiki-mistral7.yml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ base_model: mistralai/Mistral-7B-v0.1
2
+ base_model_config: mistralai/Mistral-7B-v0.1
3
+ model_type: MistralForCausalLM
4
+ tokenizer_type: LlamaTokenizer
5
+ is_mistral_derived_model: true
6
+
7
+ load_in_8bit: false
8
+ load_in_4bit: true
9
+ strict: false
10
+
11
+ datasets:
12
+ - path: simecek/wikipedie_20230601
13
+ type: completion
14
+ dataset_prepared_path:
15
+ val_set_size: 0.01
16
+ output_dir: ./wikipedie_mistral7
17
+
18
+ adapter: qlora
19
+ lora_model_dir:
20
+
21
+ sequence_len: 4096
22
+ sample_packing: true
23
+ pad_to_sequence_len: true
24
+
25
+ lora_r: 64
26
+ lora_alpha: 16
27
+ lora_dropout: 0.05
28
+ lora_target_modules:
29
+ lora_target_linear: true
30
+ lora_fan_in_fan_out:
31
+ lora_target_modules:
32
+ - gate_proj
33
+ - down_proj
34
+ - up_proj
35
+ - q_proj
36
+ - v_proj
37
+ - k_proj
38
+ - o_proj
39
+
40
+ wandb_project: czech
41
+ wandb_entity:
42
+ wandb_watch:
43
+ wandb_run_id:
44
+ wandb_log_model:
45
+
46
+ gradient_accumulation_steps: 2
47
+ micro_batch_size: 16
48
+ eval_batch_size: 16
49
+ num_epochs: 3
50
+ optimizer: adamw_bnb_8bit
51
+ lr_scheduler: cosine
52
+ learning_rate: 0.0002
53
+
54
+ train_on_inputs: false
55
+ group_by_length: false
56
+ bf16: true
57
+ fp16: false
58
+ tf32: false
59
+
60
+ gradient_checkpointing: true
61
+ early_stopping_patience:
62
+ resume_from_checkpoint:
63
+ local_rank:
64
+ logging_steps: 1
65
+ xformers_attention:
66
+ flash_attention: true
67
+
68
+ warmup_steps: 10
69
+ eval_steps: 500
70
+ eval_table_size:
71
+ save_steps: 2000
72
+ debug:
73
+ deepspeed:
74
+ weight_decay: 0.0
75
+ fsdp:
76
+ fsdp_config:
77
+ special_tokens:
78
+ bos_token: "<s>"
79
+ eos_token: "</s>"
80
+ unk_token: "<unk>"
81
+