robiual-awal commited on
Commit
7bf482f
·
verified ·
1 Parent(s): d7614fc

End of training

Browse files
README.md ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: facebook/opt-125m
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 31b2ce40-fe16-4b11-a7f2-c816733ae5bd
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: facebook/opt-125m
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - e9426b45bbc30495_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/e9426b45bbc30495_train_data.json
32
+ type:
33
+ field_input: original_version
34
+ field_instruction: title
35
+ field_output: french_version
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 300
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: false
56
+ group_by_length: true
57
+ hub_model_id: robiual-awal/31b2ce40-fe16-4b11-a7f2-c816733ae5bd
58
+ hub_strategy: end
59
+ learning_rate: 0.0002
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 50
64
+ lora_alpha: 64
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 32
69
+ lora_target_linear: true
70
+ lr_scheduler: constant
71
+ max_grad_norm: 1.0
72
+ max_memory:
73
+ 0: 75GB
74
+ max_steps: 20956
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/e9426b45bbc30495_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 10
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1e-5
83
+ optimizer: adamw_bnb_8bit
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ save_steps: 300
90
+ saves_per_epoch: null
91
+ sequence_len: 512
92
+ strict: false
93
+ tf32: true
94
+ tokenizer_type: AutoTokenizer
95
+ train_on_inputs: false
96
+ trust_remote_code: true
97
+ val_set_size: 0.05
98
+ wandb_entity: null
99
+ wandb_mode: online
100
+ wandb_name: 4dbfff5d-e150-40fd-bcd9-78e926ac420c
101
+ wandb_project: SN56-30
102
+ wandb_run: your_name
103
+ wandb_runid: 4dbfff5d-e150-40fd-bcd9-78e926ac420c
104
+ warmup_steps: 50
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # 31b2ce40-fe16-4b11-a7f2-c816733ae5bd
113
+
114
+ This model is a fine-tuned version of [facebook/opt-125m](https://huggingface.co/facebook/opt-125m) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 1.1069
117
+
118
+ ## Model description
119
+
120
+ More information needed
121
+
122
+ ## Intended uses & limitations
123
+
124
+ More information needed
125
+
126
+ ## Training and evaluation data
127
+
128
+ More information needed
129
+
130
+ ## Training procedure
131
+
132
+ ### Training hyperparameters
133
+
134
+ The following hyperparameters were used during training:
135
+ - learning_rate: 0.0002
136
+ - train_batch_size: 4
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 16
141
+ - optimizer: Use OptimizerNames.ADAMW_BNB 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
142
+ - lr_scheduler_type: constant
143
+ - lr_scheduler_warmup_steps: 50
144
+ - training_steps: 20956
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:-----:|:---------------:|
150
+ | No log | 0.0002 | 1 | 2.5746 |
151
+ | 8.1108 | 0.0510 | 300 | 1.9106 |
152
+ | 7.0989 | 0.1021 | 600 | 1.6791 |
153
+ | 6.6679 | 0.1531 | 900 | 1.5726 |
154
+ | 6.261 | 0.2042 | 1200 | 1.4999 |
155
+ | 6.0721 | 0.2552 | 1500 | 1.4423 |
156
+ | 5.8807 | 0.3063 | 1800 | 1.4126 |
157
+ | 5.6805 | 0.3573 | 2100 | 1.3783 |
158
+ | 5.5754 | 0.4083 | 2400 | 1.3535 |
159
+ | 5.7266 | 0.4594 | 2700 | 1.3309 |
160
+ | 5.5338 | 0.5104 | 3000 | 1.3168 |
161
+ | 5.6379 | 0.5615 | 3300 | 1.2952 |
162
+ | 5.5449 | 0.6125 | 3600 | 1.2839 |
163
+ | 5.3335 | 0.6635 | 3900 | 1.2721 |
164
+ | 5.3477 | 0.7146 | 4200 | 1.2623 |
165
+ | 5.2752 | 0.7656 | 4500 | 1.2513 |
166
+ | 5.1171 | 0.8167 | 4800 | 1.2466 |
167
+ | 5.1925 | 0.8677 | 5100 | 1.2335 |
168
+ | 5.3031 | 0.9188 | 5400 | 1.2284 |
169
+ | 5.2691 | 0.9698 | 5700 | 1.2237 |
170
+ | 5.2285 | 1.0208 | 6000 | 1.2107 |
171
+ | 5.2817 | 1.0719 | 6300 | 1.2072 |
172
+ | 5.0723 | 1.1229 | 6600 | 1.2032 |
173
+ | 5.0179 | 1.1740 | 6900 | 1.1982 |
174
+ | 4.8939 | 1.2250 | 7200 | 1.1965 |
175
+ | 4.8136 | 1.2761 | 7500 | 1.1892 |
176
+ | 4.9914 | 1.3271 | 7800 | 1.1828 |
177
+ | 5.074 | 1.3781 | 8100 | 1.1815 |
178
+ | 5.0051 | 1.4292 | 8400 | 1.1753 |
179
+ | 4.9578 | 1.4802 | 8700 | 1.1743 |
180
+ | 5.1432 | 1.5313 | 9000 | 1.1683 |
181
+ | 4.7522 | 1.5823 | 9300 | 1.1685 |
182
+ | 5.0689 | 1.6333 | 9600 | 1.1632 |
183
+ | 4.8908 | 1.6844 | 9900 | 1.1638 |
184
+ | 4.8675 | 1.7354 | 10200 | 1.1558 |
185
+ | 4.8574 | 1.7865 | 10500 | 1.1557 |
186
+ | 4.889 | 1.8375 | 10800 | 1.1522 |
187
+ | 4.9843 | 1.8886 | 11100 | 1.1552 |
188
+ | 4.6065 | 1.9396 | 11400 | 1.1506 |
189
+ | 4.9163 | 1.9906 | 11700 | 1.1473 |
190
+ | 4.8699 | 2.0417 | 12000 | 1.1422 |
191
+ | 4.7492 | 2.0927 | 12300 | 1.1431 |
192
+ | 4.7051 | 2.1438 | 12600 | 1.1392 |
193
+ | 4.772 | 2.1948 | 12900 | 1.1397 |
194
+ | 4.9571 | 2.2459 | 13200 | 1.1376 |
195
+ | 4.5603 | 2.2969 | 13500 | 1.1356 |
196
+ | 4.6664 | 2.3479 | 13800 | 1.1337 |
197
+ | 4.876 | 2.3990 | 14100 | 1.1300 |
198
+ | 4.5775 | 2.4500 | 14400 | 1.1301 |
199
+ | 4.764 | 2.5011 | 14700 | 1.1275 |
200
+ | 4.6266 | 2.5521 | 15000 | 1.1246 |
201
+ | 4.7234 | 2.6031 | 15300 | 1.1250 |
202
+ | 4.722 | 2.6542 | 15600 | 1.1211 |
203
+ | 4.9044 | 2.7052 | 15900 | 1.1202 |
204
+ | 4.8683 | 2.7563 | 16200 | 1.1217 |
205
+ | 4.5523 | 2.8073 | 16500 | 1.1161 |
206
+ | 4.6435 | 2.8584 | 16800 | 1.1191 |
207
+ | 4.8074 | 2.9094 | 17100 | 1.1175 |
208
+ | 4.6395 | 2.9604 | 17400 | 1.1156 |
209
+ | 4.5781 | 3.0115 | 17700 | 1.1167 |
210
+ | 4.4496 | 3.0625 | 18000 | 1.1188 |
211
+ | 4.6846 | 3.1136 | 18300 | 1.1130 |
212
+ | 4.5808 | 3.1646 | 18600 | 1.1168 |
213
+ | 4.3914 | 3.2157 | 18900 | 1.1123 |
214
+ | 4.6832 | 3.2667 | 19200 | 1.1118 |
215
+ | 4.5798 | 3.3177 | 19500 | 1.1123 |
216
+ | 4.966 | 3.3688 | 19800 | 1.1107 |
217
+ | 4.6667 | 3.4198 | 20100 | 1.1098 |
218
+ | 4.4912 | 3.4709 | 20400 | 1.1077 |
219
+ | 4.749 | 3.5219 | 20700 | 1.1069 |
220
+
221
+
222
+ ### Framework versions
223
+
224
+ - PEFT 0.13.2
225
+ - Transformers 4.46.0
226
+ - Pytorch 2.5.0+cu124
227
+ - Datasets 3.0.1
228
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "facebook/opt-125m",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 64,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "fc2",
25
+ "k_proj",
26
+ "q_proj",
27
+ "out_proj",
28
+ "fc1"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a51e2eeed55cf5b82306be83b12bbcd9708c9f02e75e042107579e5f423167bc
3
+ size 21286218
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e84e47ffa29cf48d12f8de2fab4b6c5d109f398bf4bf8595ea3d5e415e03031e
3
+ size 21253336
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "facebook/opt-125m",
4
+ "_remove_final_layer_norm": false,
5
+ "activation_dropout": 0.0,
6
+ "activation_function": "relu",
7
+ "architectures": [
8
+ "OPTForCausalLM"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 2,
12
+ "do_layer_norm_before": true,
13
+ "dropout": 0.1,
14
+ "enable_bias": true,
15
+ "eos_token_id": 2,
16
+ "ffn_dim": 3072,
17
+ "hidden_size": 768,
18
+ "init_std": 0.02,
19
+ "layer_norm_elementwise_affine": true,
20
+ "layerdrop": 0.0,
21
+ "max_position_embeddings": 2048,
22
+ "model_type": "opt",
23
+ "num_attention_heads": 12,
24
+ "num_hidden_layers": 12,
25
+ "pad_token_id": 1,
26
+ "prefix": "</s>",
27
+ "torch_dtype": "float16",
28
+ "transformers_version": "4.46.0",
29
+ "use_cache": false,
30
+ "vocab_size": 50272,
31
+ "word_embed_proj_dim": 768
32
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<pad>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "</s>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "1": {
6
+ "content": "<pad>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "2": {
14
+ "content": "</s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ }
21
+ },
22
+ "bos_token": "</s>",
23
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": "</s>",
26
+ "errors": "replace",
27
+ "model_max_length": 1000000000000000019884624838656,
28
+ "pad_token": "<pad>",
29
+ "tokenizer_class": "GPT2Tokenizer",
30
+ "unk_token": "</s>"
31
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:230a9451612b49b7175d91b54a9c1147440330e243f4554f50167323b81137ea
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff