JacksonBrune commited on
Commit
a4f716e
·
verified ·
1 Parent(s): 2769d8a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 646255e0-25a0-42b8-b4bd-76e703084fb9
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: JacksonBrune/646255e0-25a0-42b8-b4bd-76e703084fb9
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: 20953
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-18
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
+ # 646255e0-25a0-42b8-b4bd-76e703084fb9
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.1171
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: 20953
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:-----:|:---------------:|
150
+ | No log | 0.0002 | 1 | 2.5731 |
151
+ | 8.1083 | 0.0510 | 300 | 1.9096 |
152
+ | 7.1078 | 0.1021 | 600 | 1.6839 |
153
+ | 6.6696 | 0.1531 | 900 | 1.5693 |
154
+ | 6.2632 | 0.2042 | 1200 | 1.5010 |
155
+ | 6.0785 | 0.2552 | 1500 | 1.4457 |
156
+ | 5.8829 | 0.3063 | 1800 | 1.4097 |
157
+ | 5.6869 | 0.3573 | 2100 | 1.3755 |
158
+ | 5.5791 | 0.4083 | 2400 | 1.3511 |
159
+ | 5.7238 | 0.4594 | 2700 | 1.3324 |
160
+ | 5.5444 | 0.5104 | 3000 | 1.3186 |
161
+ | 5.648 | 0.5615 | 3300 | 1.2941 |
162
+ | 5.5452 | 0.6125 | 3600 | 1.2857 |
163
+ | 5.3401 | 0.6635 | 3900 | 1.2733 |
164
+ | 5.345 | 0.7146 | 4200 | 1.2610 |
165
+ | 5.2741 | 0.7656 | 4500 | 1.2497 |
166
+ | 5.1186 | 0.8167 | 4800 | 1.2454 |
167
+ | 5.2047 | 0.8677 | 5100 | 1.2338 |
168
+ | 5.3053 | 0.9188 | 5400 | 1.2297 |
169
+ | 5.2865 | 0.9698 | 5700 | 1.2233 |
170
+ | 5.2367 | 1.0208 | 6000 | 1.2095 |
171
+ | 5.2783 | 1.0719 | 6300 | 1.2095 |
172
+ | 5.0683 | 1.1229 | 6600 | 1.2021 |
173
+ | 5.0163 | 1.1740 | 6900 | 1.1992 |
174
+ | 4.896 | 1.2250 | 7200 | 1.1973 |
175
+ | 4.8037 | 1.2761 | 7500 | 1.1908 |
176
+ | 4.9946 | 1.3271 | 7800 | 1.1821 |
177
+ | 5.08 | 1.3781 | 8100 | 1.1812 |
178
+ | 5.0091 | 1.4292 | 8400 | 1.1765 |
179
+ | 4.9605 | 1.4802 | 8700 | 1.1745 |
180
+ | 5.1488 | 1.5313 | 9000 | 1.1679 |
181
+ | 4.7554 | 1.5823 | 9300 | 1.1685 |
182
+ | 5.0706 | 1.6333 | 9600 | 1.1651 |
183
+ | 4.8837 | 1.6844 | 9900 | 1.1624 |
184
+ | 4.8728 | 1.7354 | 10200 | 1.1567 |
185
+ | 4.8636 | 1.7865 | 10500 | 1.1549 |
186
+ | 4.8859 | 1.8375 | 10800 | 1.1524 |
187
+ | 4.9733 | 1.8886 | 11100 | 1.1537 |
188
+ | 4.6105 | 1.9396 | 11400 | 1.1523 |
189
+ | 4.9071 | 1.9906 | 11700 | 1.1477 |
190
+ | 4.8601 | 2.0417 | 12000 | 1.1421 |
191
+ | 4.7578 | 2.0927 | 12300 | 1.1450 |
192
+ | 4.7045 | 2.1438 | 12600 | 1.1386 |
193
+ | 4.7653 | 2.1948 | 12900 | 1.1393 |
194
+ | 4.9627 | 2.2459 | 13200 | 1.1378 |
195
+ | 4.5644 | 2.2969 | 13500 | 1.1343 |
196
+ | 4.6682 | 2.3479 | 13800 | 1.1316 |
197
+ | 4.8793 | 2.3990 | 14100 | 1.1303 |
198
+ | 4.5809 | 2.4500 | 14400 | 1.1302 |
199
+ | 4.7643 | 2.5011 | 14700 | 1.1256 |
200
+ | 4.6261 | 2.5521 | 15000 | 1.1251 |
201
+ | 4.7251 | 2.6031 | 15300 | 1.1243 |
202
+ | 4.7382 | 2.6542 | 15600 | 1.1213 |
203
+ | 4.9042 | 2.7052 | 15900 | 1.1206 |
204
+ | 4.8754 | 2.7563 | 16200 | 1.1232 |
205
+ | 4.552 | 2.8073 | 16500 | 1.1160 |
206
+ | 4.6477 | 2.8584 | 16800 | 1.1167 |
207
+ | 4.7991 | 2.9094 | 17100 | 1.1170 |
208
+ | 4.6374 | 2.9604 | 17400 | 1.1171 |
209
+
210
+
211
+ ### Framework versions
212
+
213
+ - PEFT 0.13.2
214
+ - Transformers 4.46.0
215
+ - Pytorch 2.5.0+cu124
216
+ - Datasets 3.0.1
217
+ - 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
+ "fc2",
24
+ "q_proj",
25
+ "v_proj",
26
+ "k_proj",
27
+ "fc1",
28
+ "out_proj"
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:a5501c2f6c855c5d3a103070d7b773fe6c53e7f73bf5b56e9307445619bf6e11
3
+ size 21286218
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa65196bde85c4b1cd02a10193e5ca1ffea4390e12f42e3b7ec456722386699d
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:45fda444ed568d95945bb1fe3c122d42541e9989d57585fa477f01f4f8a215f8
3
+ size 6776
vocab.json ADDED
The diff for this file is too large to render. See raw diff