Alphatao commited on
Commit
a8c0974
·
verified ·
1 Parent(s): 2627a47

End of training

Browse files
Files changed (3) hide show
  1. README.md +175 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: echarlaix/tiny-random-PhiForCausalLM
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ea51a844-1173-4395-b5f2-5ab8cd5edc35
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: echarlaix/tiny-random-PhiForCausalLM
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 5f27bc50ea77f27e_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/5f27bc50ea77f27e_train_data.json
32
+ type:
33
+ field_input: input
34
+ field_instruction: instruction
35
+ field_output: output
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ device_map:
42
+ ? ''
43
+ : 0,1,2,3,4,5,6,7
44
+ early_stopping_patience: 2
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 100
47
+ eval_table_size: null
48
+ flash_attention: false
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: Alphatao/ea51a844-1173-4395-b5f2-5ab8cd5edc35
53
+ hub_repo: null
54
+ hub_strategy: null
55
+ hub_token: null
56
+ learning_rate: 0.0002
57
+ load_best_model_at_end: true
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 32
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 16
67
+ lora_target_linear: true
68
+ lora_target_modules:
69
+ - q_proj
70
+ - k_proj
71
+ - v_proj
72
+ - o_proj
73
+ lr_scheduler: cosine
74
+ max_grad_norm: 1.0
75
+ max_steps: 2520
76
+ micro_batch_size: 4
77
+ mlflow_experiment_name: /tmp/5f27bc50ea77f27e_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 2
80
+ optimizer: adamw_bnb_8bit
81
+ output_dir: miner_id_24
82
+ pad_to_sequence_len: true
83
+ resume_from_checkpoint: null
84
+ s2_attention: null
85
+ sample_packing: false
86
+ save_steps: 100
87
+ sequence_len: 1024
88
+ special_tokens:
89
+ pad_token: <|endoftext|>
90
+ strict: false
91
+ tf32: true
92
+ tokenizer_type: AutoTokenizer
93
+ train_on_inputs: false
94
+ trust_remote_code: true
95
+ val_set_size: 0.04
96
+ wandb_entity: null
97
+ wandb_mode: online
98
+ wandb_name: 21d80ea0-1a50-4729-b510-a987e272f042
99
+ wandb_project: Gradients-On-Demand
100
+ wandb_run: your_name
101
+ wandb_runid: 21d80ea0-1a50-4729-b510-a987e272f042
102
+ warmup_steps: 10
103
+ weight_decay: 0.0
104
+ xformers_attention: null
105
+
106
+ ```
107
+
108
+ </details><br>
109
+
110
+ # ea51a844-1173-4395-b5f2-5ab8cd5edc35
111
+
112
+ This model is a fine-tuned version of [echarlaix/tiny-random-PhiForCausalLM](https://huggingface.co/echarlaix/tiny-random-PhiForCausalLM) on the None dataset.
113
+ It achieves the following results on the evaluation set:
114
+ - Loss: 6.6190
115
+
116
+ ## Model description
117
+
118
+ More information needed
119
+
120
+ ## Intended uses & limitations
121
+
122
+ More information needed
123
+
124
+ ## Training and evaluation data
125
+
126
+ More information needed
127
+
128
+ ## Training procedure
129
+
130
+ ### Training hyperparameters
131
+
132
+ The following hyperparameters were used during training:
133
+ - learning_rate: 0.0002
134
+ - train_batch_size: 4
135
+ - eval_batch_size: 4
136
+ - seed: 42
137
+ - gradient_accumulation_steps: 8
138
+ - total_train_batch_size: 32
139
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
140
+ - lr_scheduler_type: cosine
141
+ - lr_scheduler_warmup_steps: 10
142
+ - training_steps: 1889
143
+
144
+ ### Training results
145
+
146
+ | Training Loss | Epoch | Step | Validation Loss |
147
+ |:-------------:|:------:|:----:|:---------------:|
148
+ | 6.9462 | 0.0011 | 1 | 6.9452 |
149
+ | 6.8211 | 0.1059 | 100 | 6.8012 |
150
+ | 6.7556 | 0.2118 | 200 | 6.7375 |
151
+ | 6.7281 | 0.3178 | 300 | 6.7051 |
152
+ | 6.6707 | 0.4237 | 400 | 6.6791 |
153
+ | 6.6773 | 0.5296 | 500 | 6.6604 |
154
+ | 6.7186 | 0.6355 | 600 | 6.6482 |
155
+ | 6.6813 | 0.7414 | 700 | 6.6399 |
156
+ | 6.6778 | 0.8473 | 800 | 6.6341 |
157
+ | 6.6404 | 0.9533 | 900 | 6.6297 |
158
+ | 6.4898 | 1.0592 | 1000 | 6.6267 |
159
+ | 6.7481 | 1.1651 | 1100 | 6.6241 |
160
+ | 6.5533 | 1.2710 | 1200 | 6.6226 |
161
+ | 7.0404 | 1.3769 | 1300 | 6.6214 |
162
+ | 7.7962 | 1.4829 | 1400 | 6.6202 |
163
+ | 6.7513 | 1.5888 | 1500 | 6.6196 |
164
+ | 6.6431 | 1.6947 | 1600 | 6.6192 |
165
+ | 6.2248 | 1.8006 | 1700 | 6.6191 |
166
+ | 6.1459 | 1.9065 | 1800 | 6.6190 |
167
+
168
+
169
+ ### Framework versions
170
+
171
+ - PEFT 0.13.2
172
+ - Transformers 4.46.0
173
+ - Pytorch 2.5.0+cu124
174
+ - Datasets 3.0.1
175
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1085f0b52d55002ad85549a2ae6c3d9a8f9c4dc508e2845762c1d625cb533d20
3
+ size 193407
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:80f6d12b61ce33c79b28f8939998ecf96d84930406769168a95b0286cf69a5e4
3
  size 186962
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5902cdba5bfa1006112640c2be80841c21c4a76d3459e2b4323b1953c837e7a9
3
  size 186962