superklein18 commited on
Commit
cb2200d
·
verified ·
1 Parent(s): 5e5cef6

superklein18/test

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/Phi-3.5-mini-instruct
3
+ library_name: peft
4
+ license: mit
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: outputs
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # outputs
18
+
19
+ This model is a fine-tuned version of [microsoft/Phi-3.5-mini-instruct](https://huggingface.co/microsoft/Phi-3.5-mini-instruct) on an unknown dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0001
39
+ - train_batch_size: 1
40
+ - eval_batch_size: 16
41
+ - seed: 3407
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 1
45
+
46
+ ### Training results
47
+
48
+
49
+
50
+ ### Framework versions
51
+
52
+ - PEFT 0.12.0
53
+ - Transformers 4.44.2
54
+ - Pytorch 2.4.0+cu121
55
+ - Datasets 3.0.0
56
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "Phi3ForCausalLM",
5
+ "parent_library": "transformers_modules.microsoft.Phi-3.5-mini-instruct.3145e03a9fd4cdd7cd953c34d9bbf7ad606122ca.modeling_phi3"
6
+ },
7
+ "base_model_name_or_path": "microsoft/Phi-3.5-mini-instruct",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 16,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "k_proj",
27
+ "down_proj",
28
+ "up_proj",
29
+ "v_proj",
30
+ "q_proj",
31
+ "gate_proj",
32
+ "o_proj"
33
+ ],
34
+ "task_type": null,
35
+ "use_dora": false,
36
+ "use_rslora": false
37
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a815b75fe028f594998833ba1dc590089bfe3694cbea3ae4b8d8fd388c4a7a6
3
+ size 35668592
added_tokens.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
+ }
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.5319549602828002,
5
+ "train_runtime": 55.3499,
6
+ "train_samples_per_second": 3.668,
7
+ "train_steps_per_second": 3.668
8
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
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,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false
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
+ },
119
+ "bos_token": "<s>",
120
+ "chat_template": "{% for message in messages %}{% if message['role'] == 'system' and message['content'] %}{{'<|system|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'user' %}{{'<|user|>\n' + message['content'] + '<|end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|assistant|>\n' + message['content'] + '<|end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>\n' }}{% else %}{{ eos_token }}{% endif %}",
121
+ "clean_up_tokenization_spaces": false,
122
+ "eos_token": "<|endoftext|>",
123
+ "legacy": false,
124
+ "model_max_length": 2048,
125
+ "pad_token": "<|endoftext|>",
126
+ "padding_side": "right",
127
+ "sp_model_kwargs": {},
128
+ "spaces_between_special_tokens": false,
129
+ "tokenizer_class": "LlamaTokenizer",
130
+ "unk_token": "<unk>",
131
+ "use_default_system_prompt": false
132
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.5319549602828002,
5
+ "train_runtime": 55.3499,
6
+ "train_samples_per_second": 3.668,
7
+ "train_steps_per_second": 3.668
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 203,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.04926108374384237,
13
+ "grad_norm": 2.7416231632232666,
14
+ "learning_rate": 9.507389162561576e-05,
15
+ "loss": 3.0533,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.09852216748768473,
20
+ "grad_norm": 1.8756747245788574,
21
+ "learning_rate": 9.014778325123154e-05,
22
+ "loss": 0.4214,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.1477832512315271,
27
+ "grad_norm": 1.4831429719924927,
28
+ "learning_rate": 8.52216748768473e-05,
29
+ "loss": 0.4639,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.19704433497536947,
34
+ "grad_norm": 1.7727338075637817,
35
+ "learning_rate": 8.029556650246307e-05,
36
+ "loss": 0.3722,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.24630541871921183,
41
+ "grad_norm": 0.9307169914245605,
42
+ "learning_rate": 7.536945812807882e-05,
43
+ "loss": 0.3516,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.2955665024630542,
48
+ "grad_norm": 0.7861897349357605,
49
+ "learning_rate": 7.044334975369458e-05,
50
+ "loss": 0.3897,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.3448275862068966,
55
+ "grad_norm": 1.2244670391082764,
56
+ "learning_rate": 6.551724137931034e-05,
57
+ "loss": 0.4396,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.39408866995073893,
62
+ "grad_norm": 0.8233121037483215,
63
+ "learning_rate": 6.0591133004926113e-05,
64
+ "loss": 0.3135,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.4433497536945813,
69
+ "grad_norm": 3.173562526702881,
70
+ "learning_rate": 5.566502463054187e-05,
71
+ "loss": 0.6026,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.49261083743842365,
76
+ "grad_norm": 1.5332086086273193,
77
+ "learning_rate": 5.0738916256157644e-05,
78
+ "loss": 0.386,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.541871921182266,
83
+ "grad_norm": 1.3006514310836792,
84
+ "learning_rate": 4.58128078817734e-05,
85
+ "loss": 0.3327,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.5911330049261084,
90
+ "grad_norm": 1.4627310037612915,
91
+ "learning_rate": 4.088669950738917e-05,
92
+ "loss": 0.329,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.6403940886699507,
97
+ "grad_norm": 1.226656198501587,
98
+ "learning_rate": 3.5960591133004926e-05,
99
+ "loss": 0.27,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.6896551724137931,
104
+ "grad_norm": 1.3999422788619995,
105
+ "learning_rate": 3.103448275862069e-05,
106
+ "loss": 0.3287,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.7389162561576355,
111
+ "grad_norm": 4.163649082183838,
112
+ "learning_rate": 2.6108374384236457e-05,
113
+ "loss": 0.3943,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.7881773399014779,
118
+ "grad_norm": 0.8537468314170837,
119
+ "learning_rate": 2.1182266009852215e-05,
120
+ "loss": 0.3435,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.8374384236453202,
125
+ "grad_norm": 3.8700287342071533,
126
+ "learning_rate": 1.625615763546798e-05,
127
+ "loss": 0.5416,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 0.8866995073891626,
132
+ "grad_norm": 6.436923980712891,
133
+ "learning_rate": 1.1330049261083744e-05,
134
+ "loss": 0.3257,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.9359605911330049,
139
+ "grad_norm": 1.033650279045105,
140
+ "learning_rate": 6.403940886699508e-06,
141
+ "loss": 0.5444,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 0.9852216748768473,
146
+ "grad_norm": 2.5371437072753906,
147
+ "learning_rate": 1.477832512315271e-06,
148
+ "loss": 0.5019,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "step": 203,
154
+ "total_flos": 0.0,
155
+ "train_loss": 0.5319549602828002,
156
+ "train_runtime": 55.3499,
157
+ "train_samples_per_second": 3.668,
158
+ "train_steps_per_second": 3.668
159
+ }
160
+ ],
161
+ "logging_steps": 10,
162
+ "max_steps": 203,
163
+ "num_input_tokens_seen": 0,
164
+ "num_train_epochs": 1,
165
+ "save_steps": 500,
166
+ "stateful_callbacks": {
167
+ "TrainerControl": {
168
+ "args": {
169
+ "should_epoch_stop": false,
170
+ "should_evaluate": false,
171
+ "should_log": false,
172
+ "should_save": true,
173
+ "should_training_stop": true
174
+ },
175
+ "attributes": {}
176
+ }
177
+ },
178
+ "total_flos": 0.0,
179
+ "train_batch_size": 1,
180
+ "trial_name": null,
181
+ "trial_params": null
182
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b3b9650fc36193ba33029ea31e3820a0bf08dbd41f1bffa00adf86ad61a2e6e
3
+ size 5432