RoyJoy commited on
Commit
99bd337
1 Parent(s): 18245e1

End of training

Browse files
Files changed (2) hide show
  1. README.md +192 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 35f01a57-b51b-4bdd-a301-acb8ff427029
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: TinyLlama/TinyLlama-1.1B-Chat-v1.0
23
+ bf16: auto
24
+ chat_template: llama3
25
+ cosine_min_lr_ratio: 0.1
26
+ data_processes: 4
27
+ dataset_prepared_path: null
28
+ datasets:
29
+ - data_files:
30
+ - 1c76abd530c8890a_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/1c76abd530c8890a_train_data.json
34
+ type:
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map:
44
+ lm_head: 3
45
+ model.embed_tokens: 0
46
+ model.layers.0: 0
47
+ model.layers.1: 0
48
+ model.layers.10: 3
49
+ model.layers.11: 3
50
+ model.layers.2: 0
51
+ model.layers.3: 1
52
+ model.layers.4: 1
53
+ model.layers.5: 1
54
+ model.layers.6: 2
55
+ model.layers.7: 2
56
+ model.layers.8: 2
57
+ model.layers.9: 3
58
+ model.norm: 3
59
+ do_eval: true
60
+ early_stopping_patience: 1
61
+ eval_batch_size: 1
62
+ eval_sample_packing: false
63
+ eval_steps: 25
64
+ evaluation_strategy: steps
65
+ flash_attention: false
66
+ fp16: null
67
+ fsdp: null
68
+ fsdp_config: null
69
+ gradient_accumulation_steps: 32
70
+ gradient_checkpointing: true
71
+ group_by_length: true
72
+ hub_model_id: sn56/35f01a57-b51b-4bdd-a301-acb8ff427029
73
+ hub_strategy: checkpoint
74
+ hub_token: null
75
+ learning_rate: 0.0001
76
+ load_in_4bit: false
77
+ load_in_8bit: false
78
+ local_rank: null
79
+ logging_steps: 1
80
+ lora_alpha: 64
81
+ lora_dropout: 0.05
82
+ lora_fan_in_fan_out: null
83
+ lora_model_dir: null
84
+ lora_r: 32
85
+ lora_target_linear: true
86
+ lora_target_modules:
87
+ - q_proj
88
+ - v_proj
89
+ lr_scheduler: cosine
90
+ max_grad_norm: 0.3
91
+ max_memory:
92
+ 0: 60GB
93
+ 1: 70GB
94
+ 2: 70GB
95
+ 3: 70GB
96
+ cpu: 96GB
97
+ max_steps: 100
98
+ micro_batch_size: 1
99
+ mixed_precision: bf16
100
+ mlflow_experiment_name: /tmp/1c76abd530c8890a_train_data.json
101
+ model_type: AutoModelForCausalLM
102
+ num_epochs: 3
103
+ optim_args:
104
+ adam_beta1: 0.9
105
+ adam_beta2: 0.95
106
+ adam_epsilon: 1e-5
107
+ optimizer: adamw_torch
108
+ output_dir: miner_id_24
109
+ pad_to_sequence_len: true
110
+ resume_from_checkpoint: null
111
+ s2_attention: null
112
+ sample_packing: false
113
+ save_steps: 25
114
+ save_strategy: steps
115
+ sequence_len: 2048
116
+ strict: false
117
+ tf32: false
118
+ tokenizer_type: AutoTokenizer
119
+ torch_compile: false
120
+ torch_dtype: bfloat16
121
+ train_on_inputs: false
122
+ trust_remote_code: true
123
+ use_cache: false
124
+ val_set_size: 50
125
+ wandb_entity: null
126
+ wandb_mode: online
127
+ wandb_name: 35f01a57-b51b-4bdd-a301-acb8ff427029
128
+ wandb_project: Public_TuningSN
129
+ wandb_runid: 35f01a57-b51b-4bdd-a301-acb8ff427029
130
+ warmup_ratio: 0.05
131
+ weight_decay: 0.01
132
+ xformers_attention: null
133
+
134
+ ```
135
+
136
+ </details><br>
137
+
138
+ # 35f01a57-b51b-4bdd-a301-acb8ff427029
139
+
140
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on the None dataset.
141
+ It achieves the following results on the evaluation set:
142
+ - Loss: 1.2965
143
+
144
+ ## Model description
145
+
146
+ More information needed
147
+
148
+ ## Intended uses & limitations
149
+
150
+ More information needed
151
+
152
+ ## Training and evaluation data
153
+
154
+ More information needed
155
+
156
+ ## Training procedure
157
+
158
+ ### Training hyperparameters
159
+
160
+ The following hyperparameters were used during training:
161
+ - learning_rate: 0.0001
162
+ - train_batch_size: 1
163
+ - eval_batch_size: 1
164
+ - seed: 42
165
+ - distributed_type: multi-GPU
166
+ - num_devices: 4
167
+ - gradient_accumulation_steps: 32
168
+ - total_train_batch_size: 128
169
+ - total_eval_batch_size: 4
170
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
171
+ - lr_scheduler_type: cosine
172
+ - lr_scheduler_warmup_steps: 5
173
+ - training_steps: 100
174
+
175
+ ### Training results
176
+
177
+ | Training Loss | Epoch | Step | Validation Loss |
178
+ |:-------------:|:------:|:----:|:---------------:|
179
+ | 1.1205 | 0.0025 | 1 | 1.5502 |
180
+ | 2.3234 | 0.0621 | 25 | 1.3512 |
181
+ | 2.1245 | 0.1242 | 50 | 1.3093 |
182
+ | 2.1532 | 0.1864 | 75 | 1.3022 |
183
+ | 2.0062 | 0.2485 | 100 | 1.2965 |
184
+
185
+
186
+ ### Framework versions
187
+
188
+ - PEFT 0.13.2
189
+ - Transformers 4.46.0
190
+ - Pytorch 2.5.0+cu124
191
+ - Datasets 3.0.1
192
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e2cf11d22a7a7150cfad40e6f9b30f7f08a0cd49c074de6cc899599aeacd33a
3
+ size 101036698