DeepDream2045 commited on
Commit
5f0a41d
·
verified ·
1 Parent(s): ea62aad

End of training

Browse files
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 1ea23141-f4aa-4c8e-a47a-d119b471314e
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: NousResearch/Nous-Hermes-2-Mistral-7B-DPO
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 635940246d500da4_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/635940246d500da4_train_data.json
32
+ type:
33
+ field_instruction: input
34
+ field_output: answer_chatdoctor
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: 1
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 25
44
+ eval_table_size: null
45
+ flash_attention: false
46
+ fp16: false
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 16
50
+ gradient_checkpointing: true
51
+ group_by_length: true
52
+ hub_model_id: DeepDream2045/1ea23141-f4aa-4c8e-a47a-d119b471314e
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0001
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 64
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_steps: 50
69
+ micro_batch_size: 2
70
+ mlflow_experiment_name: /tmp/635940246d500da4_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 3
73
+ optimizer: adamw_torch
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ save_steps: 25
80
+ sequence_len: 2048
81
+ strict: false
82
+ tf32: false
83
+ tokenizer_type: AutoTokenizer
84
+ train_on_inputs: false
85
+ trust_remote_code: true
86
+ val_set_size: 0.05
87
+ wandb_entity: null
88
+ wandb_mode: online
89
+ wandb_name: 1ea23141-f4aa-4c8e-a47a-d119b471314e
90
+ wandb_project: Gradients-On-Demand
91
+ wandb_run: your_name
92
+ wandb_runid: 1ea23141-f4aa-4c8e-a47a-d119b471314e
93
+ warmup_ratio: 0.05
94
+ weight_decay: 0.01
95
+ xformers_attention: true
96
+
97
+ ```
98
+
99
+ </details><br>
100
+
101
+ # 1ea23141-f4aa-4c8e-a47a-d119b471314e
102
+
103
+ This model is a fine-tuned version of [NousResearch/Nous-Hermes-2-Mistral-7B-DPO](https://huggingface.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO) on the None dataset.
104
+ It achieves the following results on the evaluation set:
105
+ - Loss: 1.2026
106
+
107
+ ## Model description
108
+
109
+ More information needed
110
+
111
+ ## Intended uses & limitations
112
+
113
+ More information needed
114
+
115
+ ## Training and evaluation data
116
+
117
+ More information needed
118
+
119
+ ## Training procedure
120
+
121
+ ### Training hyperparameters
122
+
123
+ The following hyperparameters were used during training:
124
+ - learning_rate: 0.0001
125
+ - train_batch_size: 2
126
+ - eval_batch_size: 2
127
+ - seed: 42
128
+ - distributed_type: multi-GPU
129
+ - num_devices: 4
130
+ - gradient_accumulation_steps: 16
131
+ - total_train_batch_size: 128
132
+ - total_eval_batch_size: 8
133
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
134
+ - lr_scheduler_type: cosine
135
+ - lr_scheduler_warmup_steps: 2
136
+ - training_steps: 50
137
+
138
+ ### Training results
139
+
140
+ | Training Loss | Epoch | Step | Validation Loss |
141
+ |:-------------:|:------:|:----:|:---------------:|
142
+ | 29.8366 | 0.0201 | 1 | 1.9029 |
143
+ | 20.1636 | 0.5013 | 25 | 1.2464 |
144
+ | 19.3901 | 1.0025 | 50 | 1.2026 |
145
+
146
+
147
+ ### Framework versions
148
+
149
+ - PEFT 0.13.2
150
+ - Transformers 4.46.0
151
+ - Pytorch 2.4.1+cu124
152
+ - Datasets 3.0.1
153
+ - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -21,12 +21,12 @@
21
  "revision": null,
22
  "target_modules": [
23
  "up_proj",
24
- "o_proj",
25
  "v_proj",
26
- "down_proj",
27
  "k_proj",
28
- "gate_proj",
29
- "q_proj"
 
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
21
  "revision": null,
22
  "target_modules": [
23
  "up_proj",
 
24
  "v_proj",
 
25
  "k_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "o_proj",
29
+ "gate_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41020d03ea7e756f2e8138fe4ff157960ef3d6ba284e7c8e59f3a6430556d89e
3
+ size 335706186
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5804f7ce3e4f165e38c00a62ab27ff1015149bd69f49f81ccf5098224bb7fc3
3
  size 335604696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc541a5e2f6ab287dd5d927da237acf49a2f6908fcdea5a3b379204e1ed0bee1
3
  size 335604696
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49aff211ae8ea18a4c81022d1a6bf1adb7442e3700fb490be0575b42e1f1010b
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7110c76ab6599cc95833cc63d481839aa6a5296b3d3896723abb98e54f6d9f6f
3
  size 6776