lesso14 commited on
Commit
28397c0
·
verified ·
1 Parent(s): e296764

End of training

Browse files
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 506d703f-9740-4f0b-b4ef-b0885e65f6ba
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: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 8d82168d8919f291_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/8d82168d8919f291_train_data.json
32
+ type:
33
+ field_instruction: query
34
+ field_output: gpt4o_response
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 1
45
+ flash_attention: true
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 4
50
+ gradient_checkpointing: true
51
+ gradient_clipping: 1.0
52
+ group_by_length: false
53
+ hub_model_id: lesso14/506d703f-9740-4f0b-b4ef-b0885e65f6ba
54
+ hub_repo: null
55
+ hub_strategy: end
56
+ hub_token: null
57
+ learning_rate: 5.0e-05
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 16
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 8
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_steps: 200
70
+ micro_batch_size: 2
71
+ mixed_precision: bf16
72
+ mlflow_experiment_name: /tmp/8d82168d8919f291_train_data.json
73
+ model_type: AutoModelForCausalLM
74
+ num_epochs: 1
75
+ optimizer: adamw_bnb_8bit
76
+ output_dir: miner_id_24
77
+ pad_to_sequence_len: true
78
+ resume_from_checkpoint: null
79
+ s2_attention: null
80
+ sample_packing: false
81
+ saves_per_epoch: 1
82
+ sequence_len: 1024
83
+ strict: false
84
+ tf32: false
85
+ tokenizer_type: AutoTokenizer
86
+ train_on_inputs: false
87
+ trust_remote_code: true
88
+ val_set_size: 0.05
89
+ wandb_entity: null
90
+ wandb_mode: online
91
+ wandb_name: 281f1926-d59b-4ecc-830a-02ed361c1e39
92
+ wandb_project: 01-31
93
+ wandb_run: your_name
94
+ wandb_runid: 281f1926-d59b-4ecc-830a-02ed361c1e39
95
+ warmup_steps: 5
96
+ weight_decay: 0.01
97
+ xformers_attention: true
98
+
99
+ ```
100
+
101
+ </details><br>
102
+
103
+ # 506d703f-9740-4f0b-b4ef-b0885e65f6ba
104
+
105
+ 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.
106
+ It achieves the following results on the evaluation set:
107
+ - Loss: 0.4125
108
+
109
+ ## Model description
110
+
111
+ More information needed
112
+
113
+ ## Intended uses & limitations
114
+
115
+ More information needed
116
+
117
+ ## Training and evaluation data
118
+
119
+ More information needed
120
+
121
+ ## Training procedure
122
+
123
+ ### Training hyperparameters
124
+
125
+ The following hyperparameters were used during training:
126
+ - learning_rate: 5e-05
127
+ - train_batch_size: 2
128
+ - eval_batch_size: 2
129
+ - seed: 42
130
+ - distributed_type: multi-GPU
131
+ - num_devices: 8
132
+ - gradient_accumulation_steps: 4
133
+ - total_train_batch_size: 64
134
+ - total_eval_batch_size: 16
135
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
136
+ - lr_scheduler_type: cosine
137
+ - lr_scheduler_warmup_steps: 5
138
+ - training_steps: 81
139
+
140
+ ### Training results
141
+
142
+ | Training Loss | Epoch | Step | Validation Loss |
143
+ |:-------------:|:-----:|:----:|:---------------:|
144
+ | 1.6436 | 1.0 | 81 | 0.4125 |
145
+
146
+
147
+ ### Framework versions
148
+
149
+ - PEFT 0.13.2
150
+ - Transformers 4.46.0
151
+ - Pytorch 2.5.0+cu124
152
+ - Datasets 3.0.1
153
+ - 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": 16,
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": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "gate_up_proj",
24
+ "o_proj",
25
+ "qkv_proj",
26
+ "down_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:825f3b02666d3923a342cccb99249bd987bf294deedd77b99986d65236698cc4
3
+ size 111526858
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80e313bdfaf3ce92c6a30019f67839c13bcbe594cf828e03af735ae46771b2d5
3
+ size 111454040
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:e0a23fdda6ee8f9be71f2e49e1faa77664171f02c0946c741688ac52717b32fa
3
+ size 6776