DeepDream2045 commited on
Commit
d8d1156
1 Parent(s): 1a71df3

End of training

Browse files
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Artples/L-MChat-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 5098e4ea-3baa-466f-a147-7f46b679f708
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: Artples/L-MChat-7b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 6e695fa21054b03e_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/6e695fa21054b03e_train_data.json
32
+ type:
33
+ field_input: solution
34
+ field_instruction: problem
35
+ field_output: target_answer
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: 1
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 25
45
+ eval_table_size: null
46
+ flash_attention: false
47
+ fp16: false
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 16
51
+ gradient_checkpointing: true
52
+ group_by_length: true
53
+ hub_model_id: DeepDream2045/5098e4ea-3baa-466f-a147-7f46b679f708
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_steps: 50
70
+ micro_batch_size: 2
71
+ mlflow_experiment_name: /tmp/6e695fa21054b03e_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 3
74
+ optimizer: adamw_torch
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 25
81
+ sequence_len: 2048
82
+ special_tokens:
83
+ pad_token: <|end_of_turn|>
84
+ strict: false
85
+ tf32: false
86
+ tokenizer_type: AutoTokenizer
87
+ train_on_inputs: false
88
+ trust_remote_code: true
89
+ val_set_size: 0.05
90
+ wandb_entity: null
91
+ wandb_mode: online
92
+ wandb_name: 5098e4ea-3baa-466f-a147-7f46b679f708
93
+ wandb_project: Gradients-On-Demand
94
+ wandb_run: your_name
95
+ wandb_runid: 5098e4ea-3baa-466f-a147-7f46b679f708
96
+ warmup_ratio: 0.05
97
+ weight_decay: 0.01
98
+ xformers_attention: true
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # 5098e4ea-3baa-466f-a147-7f46b679f708
105
+
106
+ This model is a fine-tuned version of [Artples/L-MChat-7b](https://huggingface.co/Artples/L-MChat-7b) on the None dataset.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 0.0398
109
+
110
+ ## Model description
111
+
112
+ More information needed
113
+
114
+ ## Intended uses & limitations
115
+
116
+ More information needed
117
+
118
+ ## Training and evaluation data
119
+
120
+ More information needed
121
+
122
+ ## Training procedure
123
+
124
+ ### Training hyperparameters
125
+
126
+ The following hyperparameters were used during training:
127
+ - learning_rate: 0.0001
128
+ - train_batch_size: 2
129
+ - eval_batch_size: 2
130
+ - seed: 42
131
+ - distributed_type: multi-GPU
132
+ - num_devices: 4
133
+ - gradient_accumulation_steps: 16
134
+ - total_train_batch_size: 128
135
+ - total_eval_batch_size: 8
136
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 2
139
+ - training_steps: 50
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 61.3338 | 0.0528 | 1 | 3.5628 |
146
+ | 0.9758 | 1.3498 | 25 | 0.1138 |
147
+ | 0.2619 | 2.6997 | 50 | 0.0398 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.4.1+cu124
155
+ - Datasets 3.0.1
156
+ - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -21,10 +21,10 @@
21
  "revision": null,
22
  "target_modules": [
23
  "k_proj",
24
- "q_proj",
25
  "gate_proj",
 
26
  "v_proj",
27
- "down_proj",
28
  "up_proj",
29
  "o_proj"
30
  ],
 
21
  "revision": null,
22
  "target_modules": [
23
  "k_proj",
24
+ "down_proj",
25
  "gate_proj",
26
+ "q_proj",
27
  "v_proj",
 
28
  "up_proj",
29
  "o_proj"
30
  ],
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef8cf0cc5c6ef8f55312bbca3a4f5ef99a8984fd8f72267a8e2559fc1757a98b
3
+ size 335706186
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3446403d2f0c7e1833fe69ae3f77b5a43536a61c7a2973ebdce45154acfcf01f
3
  size 335604696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:020b5754070bfaf7eaf5513f8adb989bb64a52299a64a292eef6230e71963075
3
  size 335604696
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5dd421ee496f84b943e667379d94c279e81d013b511fd3641f3973aa3000a968
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fce2681dc79991c6f33e2d27573b5f6d6f5cf0f1fcde8d296e5d63aeff6c313b
3
  size 6776