Weyaxi commited on
Commit
dc2b473
·
verified ·
1 Parent(s): c14015f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +130 -0
README.md ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - axolotl
5
+ - generated_from_trainer
6
+ base_model: openchat/openchat-3.5-0106
7
+ model-index:
8
+ - name: newton-lora
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.0`
19
+ ```yaml
20
+ base_model: openchat/openchat-3.5-0106
21
+ model_type: MistralForCausalLM
22
+ tokenizer_type: LlamaTokenizer
23
+ is_mistral_derived_model: true
24
+
25
+ load_in_8bit: false
26
+ load_in_4bit: true
27
+ strict: false
28
+
29
+
30
+ datasets:
31
+ - path: merged_all.json
32
+ type:
33
+ field_instruction: instruction
34
+ field_output: output
35
+
36
+ format: "GPT4 Correct User: {instruction}<|end_of_turn|>GPT4 Correct Assistant:"
37
+ no_input_format: "GPT4 Correct User: {instruction}<|end_of_turn|>GPT4 Correct Assistant:"
38
+
39
+
40
+ dataset_prepared_path: last_run_prepared
41
+ val_set_size: 0.01 # not sure
42
+ output_dir: ./newton
43
+
44
+ adapter: qlora
45
+ lora_model_dir:
46
+
47
+ sequence_len: 8192
48
+ sample_packing: true
49
+ pad_to_sequence_len: true
50
+
51
+ lora_r: 128
52
+ lora_alpha: 64
53
+ lora_dropout: 0.05
54
+ lora_target_linear: true
55
+ lora_fan_in_fan_out:
56
+ lora_target_modules:
57
+ - gate_proj
58
+ - down_proj
59
+ - up_proj
60
+ - q_proj
61
+ - v_proj
62
+ - k_proj
63
+ - o_proj
64
+ lora_modules_to_save:
65
+ - embed_tokens
66
+ - lm_head
67
+
68
+ wandb_project: huggingface
69
+ wandb_entity:
70
+ wandb_watch:
71
+ wandb_name:
72
+ wandb_log_model:
73
+
74
+ hub_model_id: Weyaxi/newton-lora
75
+ save_safetensors: true
76
+
77
+ # change #
78
+ gradient_accumulation_steps: 12
79
+ micro_batch_size: 6
80
+ num_epochs: 2
81
+ optimizer: adamw_bnb_8bit
82
+ lr_scheduler: cosine
83
+ learning_rate: 0.0002
84
+ # change #
85
+
86
+ train_on_inputs: false
87
+ group_by_length: false
88
+ bf16: true
89
+ fp16: false
90
+ tf32: false
91
+
92
+ gradient_checkpointing: true
93
+ early_stopping_patience:
94
+ resume_from_checkpoint:
95
+ local_rank:
96
+ logging_steps: 1
97
+ xformers_attention:
98
+ flash_attention: true
99
+
100
+ warmup_steps: 10 # not sure
101
+
102
+ saves_per_epoch: 2
103
+
104
+ evals_per_epoch: 4
105
+ eval_table_size:
106
+ eval_table_max_new_tokens: 128
107
+
108
+ debug:
109
+ deepspeed:
110
+ weight_decay: 0.1 # not sure
111
+ fsdp:
112
+ fsdp_config:
113
+ special_tokens:
114
+ bos_token: "<s>"
115
+ eos_token: "</s>"
116
+ unk_token: "<unk>"
117
+ tokens:
118
+ - "<|end_of_turn|>"
119
+ - "<|pad_0|>"
120
+
121
+
122
+ ```
123
+
124
+ </details><br>
125
+
126
+ # newton-lora
127
+
128
+ This model is a fine-tuned version of [openchat/openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106) on the None dataset.
129
+ It achieves the following results on the evaluation set:
130
+ - Loss: 0.0800