marialvsantiago commited on
Commit
b5dbfb1
·
verified ·
1 Parent(s): 11267c7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: migtissera/Tess-v2.5-Phi-3-medium-128k-14B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: b3ed730f-3ea4-4ee9-844e-013e368fc825
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: migtissera/Tess-v2.5-Phi-3-medium-128k-14B
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 8
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - eacbb42298971c4c_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/eacbb42298971c4c_train_data.json
33
+ type:
34
+ field_input: ref
35
+ field_instruction: src
36
+ field_output: chosen
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: auto
44
+ do_eval: true
45
+ early_stopping_patience: 1
46
+ eval_batch_size: 4
47
+ eval_max_new_tokens: 128
48
+ eval_steps: 5
49
+ eval_table_size: null
50
+ evals_per_epoch: null
51
+ flash_attention: false
52
+ fp16: false
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: marialvsantiago/b3ed730f-3ea4-4ee9-844e-013e368fc825
57
+ hub_repo: null
58
+ hub_strategy: end
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 3
65
+ lora_alpha: 128
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 64
70
+ lora_target_linear: true
71
+ lr_scheduler: cosine
72
+ max_memory:
73
+ 0: 78GiB
74
+ cpu: 30GiB
75
+ max_steps: 30
76
+ micro_batch_size: 8
77
+ mlflow_experiment_name: /tmp/eacbb42298971c4c_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 1
80
+ optim_args:
81
+ adam_beta1: 0.9
82
+ adam_beta2: 0.95
83
+ adam_epsilon: 1e-5
84
+ optimizer: adamw_bnb_8bit
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ save_steps: 10
91
+ sequence_len: 1024
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: c4376209-02e8-4ca5-b8fe-4143c4391b22
101
+ wandb_project: cold28
102
+ wandb_run: your_name
103
+ wandb_runid: c4376209-02e8-4ca5-b8fe-4143c4391b22
104
+ warmup_steps: 5
105
+ weight_decay: 0.0
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # b3ed730f-3ea4-4ee9-844e-013e368fc825
113
+
114
+ This model is a fine-tuned version of [migtissera/Tess-v2.5-Phi-3-medium-128k-14B](https://huggingface.co/migtissera/Tess-v2.5-Phi-3-medium-128k-14B) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 0.5795
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.0001
136
+ - train_batch_size: 8
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 32
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: cosine
143
+ - lr_scheduler_warmup_steps: 5
144
+ - training_steps: 30
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | No log | 0.0017 | 1 | 1.3561 |
151
+ | 4.4492 | 0.0083 | 5 | 1.1423 |
152
+ | 3.7828 | 0.0165 | 10 | 0.6969 |
153
+ | 2.783 | 0.0248 | 15 | 0.6167 |
154
+ | 2.555 | 0.0331 | 20 | 0.5910 |
155
+ | 2.81 | 0.0413 | 25 | 0.5799 |
156
+ | 2.2772 | 0.0496 | 30 | 0.5795 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "migtissera/Tess-v2.5-Phi-3-medium-128k-14B",
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": 128,
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": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "gate_up_proj",
24
+ "down_proj",
25
+ "qkv_proj",
26
+ "o_proj"
27
+ ],
28
+ "task_type": "CAUSAL_LM",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66537ba370a72e901e00856a132da1897f33d64ab6e73ecda4d24309ccbfc358
3
+ size 891405770
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bacdbac20f4ba2fce60d393807838b179692d15b500f939acaaad1285ed4961f
3
+ size 891333320
added_tokens.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|end_of_text|>": 32012,
4
+ "<|endoftext|>": 32000,
5
+ "<|end|>": 32007,
6
+ "<|im_end|>": 32011,
7
+ "<|im_start|>": 32013,
8
+ "<|placeholder1|>": 32002,
9
+ "<|placeholder2|>": 32003,
10
+ "<|placeholder3|>": 32004,
11
+ "<|placeholder4|>": 32005,
12
+ "<|placeholder5|>": 32008,
13
+ "<|placeholder6|>": 32009,
14
+ "<|system|>": 32006,
15
+ "<|user|>": 32010
16
+ }
config.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "migtissera/Tess-v2.5-Phi-3-medium-128k-14B",
4
+ "architectures": [
5
+ "Phi3ForCausalLM"
6
+ ],
7
+ "attention_bias": false,
8
+ "attention_dropout": 0.0,
9
+ "auto_map": {
10
+ "AutoConfig": "microsoft/Phi-3-medium-128k-instruct--configuration_phi3.Phi3Config",
11
+ "AutoModelForCausalLM": "microsoft/Phi-3-medium-128k-instruct--modeling_phi3.Phi3ForCausalLM"
12
+ },
13
+ "bos_token_id": 1,
14
+ "embd_pdrop": 0.0,
15
+ "eos_token_id": 32011,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 5120,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 17920,
20
+ "max_position_embeddings": 131072,
21
+ "model_type": "phi3",
22
+ "num_attention_heads": 40,
23
+ "num_hidden_layers": 40,
24
+ "num_key_value_heads": 10,
25
+ "original_max_position_embeddings": 4096,
26
+ "pad_token_id": null,
27
+ "resid_pdrop": 0.0,
28
+ "rms_norm_eps": 1e-05,
29
+ "rope_scaling": {
30
+ "long_factor": [
31
+ 1.0,
32
+ 1.0,
33
+ 1.0,
34
+ 1.0,
35
+ 1.0,
36
+ 1.0,
37
+ 1.0,
38
+ 1.0,
39
+ 1.0,
40
+ 1.0,
41
+ 1.0,
42
+ 1.0,
43
+ 1.0,
44
+ 1.25,
45
+ 1.25,
46
+ 1.5,
47
+ 2.0,
48
+ 2.75,
49
+ 5.75,
50
+ 5.75,
51
+ 6.5,
52
+ 9.25,
53
+ 11.0,
54
+ 13.25,
55
+ 19.25,
56
+ 19.75,
57
+ 19.75,
58
+ 21.25,
59
+ 21.5,
60
+ 26.5,
61
+ 30.0,
62
+ 33.75,
63
+ 35.25,
64
+ 38.5,
65
+ 42.0,
66
+ 42.25,
67
+ 46.0,
68
+ 47.0,
69
+ 50.0,
70
+ 50.5,
71
+ 51.0,
72
+ 52.0,
73
+ 52.75,
74
+ 53.75,
75
+ 54.75,
76
+ 57.0,
77
+ 57.25,
78
+ 58.5,
79
+ 59.25,
80
+ 59.5,
81
+ 62.0,
82
+ 62.5,
83
+ 62.75,
84
+ 63.25,
85
+ 63.25,
86
+ 63.25,
87
+ 63.75,
88
+ 64.0,
89
+ 64.0,
90
+ 64.25,
91
+ 64.5,
92
+ 64.5,
93
+ 65.0,
94
+ 65.0
95
+ ],
96
+ "short_factor": [
97
+ 1.0,
98
+ 1.0,
99
+ 1.0,
100
+ 1.0,
101
+ 1.0,
102
+ 1.0,
103
+ 1.01,
104
+ 1.02,
105
+ 1.02,
106
+ 1.04,
107
+ 1.04,
108
+ 1.07,
109
+ 1.07,
110
+ 1.1,
111
+ 1.3000000000000003,
112
+ 1.3000000000000003,
113
+ 1.5000000000000004,
114
+ 1.5700000000000005,
115
+ 1.9000000000000008,
116
+ 2.3100000000000014,
117
+ 2.759999999999992,
118
+ 3.3899999999999784,
119
+ 3.9399999999999666,
120
+ 4.009999999999965,
121
+ 4.289999999999959,
122
+ 4.349999999999958,
123
+ 5.349999999999937,
124
+ 6.659999999999909,
125
+ 7.029999999999901,
126
+ 7.51999999999989,
127
+ 8.00999999999988,
128
+ 8.249999999999876,
129
+ 8.279999999999875,
130
+ 9.629999999999846,
131
+ 9.89999999999984,
132
+ 10.589999999999826,
133
+ 11.049999999999816,
134
+ 11.7899999999998,
135
+ 12.189999999999792,
136
+ 12.889999999999777,
137
+ 13.129999999999772,
138
+ 13.16999999999977,
139
+ 13.20999999999977,
140
+ 13.479999999999764,
141
+ 13.539999999999763,
142
+ 13.779999999999758,
143
+ 13.929999999999755,
144
+ 14.429999999999744,
145
+ 14.759999999999737,
146
+ 15.149999999999729,
147
+ 15.419999999999723,
148
+ 15.53999999999972,
149
+ 15.659999999999718,
150
+ 15.749999999999716,
151
+ 15.759999999999716,
152
+ 15.799999999999715,
153
+ 16.05999999999971,
154
+ 16.079999999999714,
155
+ 16.11999999999972,
156
+ 16.11999999999972,
157
+ 16.18999999999973,
158
+ 16.31999999999975,
159
+ 16.539999999999786,
160
+ 16.799999999999827
161
+ ],
162
+ "type": "su"
163
+ },
164
+ "rope_theta": 10000.0,
165
+ "sliding_window": 131072,
166
+ "tie_word_embeddings": false,
167
+ "torch_dtype": "bfloat16",
168
+ "transformers_version": "4.46.0",
169
+ "use_cache": false,
170
+ "vocab_size": 32064
171
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|im_end|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end_of_text|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
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.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": true,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "32000": {
31
+ "content": "<|endoftext|>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "32001": {
39
+ "content": "<|assistant|>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": true,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "32002": {
47
+ "content": "<|placeholder1|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": true,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "32003": {
55
+ "content": "<|placeholder2|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": true,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "32004": {
63
+ "content": "<|placeholder3|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": true,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "32005": {
71
+ "content": "<|placeholder4|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": true,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "32006": {
79
+ "content": "<|system|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": true,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "32007": {
87
+ "content": "<|end|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": true,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "32008": {
95
+ "content": "<|placeholder5|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": true,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "32009": {
103
+ "content": "<|placeholder6|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": true,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "32010": {
111
+ "content": "<|user|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": true,
115
+ "single_word": false,
116
+ "special": true
117
+ },
118
+ "32011": {
119
+ "content": "<|im_end|>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": true
125
+ },
126
+ "32012": {
127
+ "content": "<|end_of_text|>",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": true
133
+ },
134
+ "32013": {
135
+ "content": "<|im_start|>",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ }
142
+ },
143
+ "bos_token": "<s>",
144
+ "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 %}",
145
+ "clean_up_tokenization_spaces": false,
146
+ "eos_token": "<|im_end|>",
147
+ "legacy": false,
148
+ "model_max_length": 131072,
149
+ "pad_token": "<|end_of_text|>",
150
+ "padding_side": "left",
151
+ "sp_model_kwargs": {},
152
+ "spaces_between_special_tokens": false,
153
+ "tokenizer_class": "LlamaTokenizer",
154
+ "unk_token": "<unk>",
155
+ "use_default_system_prompt": false
156
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2db4bd8525501371b125693593187f1fc39cb574da0e888f835b91814340cf0
3
+ size 6840