TanJing commited on
Commit
e0735e2
1 Parent(s): 2a7ca32

Model save

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: mistralai/Mistral-7B-v0.1
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: zephyr-7b-sft-lora
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # zephyr-7b-sft-lora
15
+
16
+ This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.0159
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 2e-05
38
+ - train_batch_size: 2
39
+ - eval_batch_size: 4
40
+ - seed: 42
41
+ - distributed_type: multi-GPU
42
+ - num_devices: 4
43
+ - gradient_accumulation_steps: 128
44
+ - total_train_batch_size: 1024
45
+ - total_eval_batch_size: 16
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - num_epochs: 1
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:-----:|:----:|:---------------:|
54
+ | 1.0105 | 0.67 | 136 | 1.0159 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.35.0
60
+ - Pytorch 2.0.1
61
+ - Datasets 2.14.6
62
+ - Tokenizers 0.14.1
adapter_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "lora_alpha": 16,
12
+ "lora_dropout": 0.1,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 64,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "v_proj",
20
+ "q_proj",
21
+ "k_proj",
22
+ "o_proj"
23
+ ],
24
+ "task_type": "CAUSAL_LM"
25
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1faa1046cc90a5392fa57389464099e2a0d4321a30e0284bbd50592e2872053
3
+ size 218138576
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.0158774852752686,
4
+ "eval_runtime": 2342.0762,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 9.867,
7
+ "eval_steps_per_second": 0.617,
8
+ "train_loss": 1.0439463178901112,
9
+ "train_runtime": 75333.0344,
10
+ "train_samples": 207865,
11
+ "train_samples_per_second": 2.759,
12
+ "train_steps_per_second": 0.003
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "eval_loss": 1.0158774852752686,
4
+ "eval_runtime": 2342.0762,
5
+ "eval_samples": 23110,
6
+ "eval_samples_per_second": 9.867,
7
+ "eval_steps_per_second": 0.617
8
+ }
runs/Nov15_13-48-16_omnisky/events.out.tfevents.1700027324.omnisky.15826.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3eb35a5612cb429870a2820e29856adcb770b4e0a8b88ca4e6830fe53d1c142e
3
+ size 4643
runs/Nov15_13-50-32_omnisky/events.out.tfevents.1700027461.omnisky.17842.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:910426806ef1b196b20aefb472e936b521ae074afa02e6131bb8ede293d7d457
3
+ size 4643
runs/Nov15_13-57-38_omnisky/events.out.tfevents.1700027897.omnisky.24177.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6007704f588d518ece78bc88847e072d57e75b08e32b5110c96f10e6cb0c909
3
+ size 4643
runs/Nov15_14-05-16_omnisky/events.out.tfevents.1700028349.omnisky.30807.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6de70e0584c16f040a3a403aaa9ee8aadc480a21c28bc39809a374f6dc9ca7b3
3
+ size 4643
runs/Nov15_14-17-17_omnisky/events.out.tfevents.1700029070.omnisky.41743.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01f312b9114ee744491aceca2097790096d00d423334fbef156d5d2696ae1b1f
3
+ size 4643
runs/Nov15_14-20-44_omnisky/events.out.tfevents.1700029278.omnisky.45263.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6acbad726fc56ce4274d883588fad9358e806c69de4b7f528da3445bfb32c4fb
3
+ size 4643
runs/Nov15_14-22-20_omnisky/events.out.tfevents.1700029373.omnisky.47152.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e0a806f7a9854467085a6b748b7a19283b0a79a2aa03498f17f8669e0f2ac5b
3
+ size 4643
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": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
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:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "additional_special_tokens": [],
29
+ "bos_token": "<s>",
30
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
31
+ "clean_up_tokenization_spaces": false,
32
+ "eos_token": "</s>",
33
+ "legacy": true,
34
+ "model_max_length": 2048,
35
+ "pad_token": "</s>",
36
+ "sp_model_kwargs": {},
37
+ "spaces_between_special_tokens": false,
38
+ "tokenizer_class": "LlamaTokenizer",
39
+ "unk_token": "<unk>",
40
+ "use_default_system_prompt": true
41
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.67,
3
+ "train_loss": 1.0439463178901112,
4
+ "train_runtime": 75333.0344,
5
+ "train_samples": 207865,
6
+ "train_samples_per_second": 2.759,
7
+ "train_steps_per_second": 0.003
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6699507389162561,
5
+ "eval_steps": 500,
6
+ "global_step": 136,
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.0,
13
+ "learning_rate": 1.9998802517966852e-05,
14
+ "loss": 1.1454,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.02,
19
+ "learning_rate": 1.997007728639956e-05,
20
+ "loss": 1.1416,
21
+ "step": 5
22
+ },
23
+ {
24
+ "epoch": 0.05,
25
+ "learning_rate": 1.9880488219356086e-05,
26
+ "loss": 1.1347,
27
+ "step": 10
28
+ },
29
+ {
30
+ "epoch": 0.07,
31
+ "learning_rate": 1.973176894846855e-05,
32
+ "loss": 1.108,
33
+ "step": 15
34
+ },
35
+ {
36
+ "epoch": 0.1,
37
+ "learning_rate": 1.9524809490566878e-05,
38
+ "loss": 1.0977,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.12,
43
+ "learning_rate": 1.926084840336821e-05,
44
+ "loss": 1.0881,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.15,
49
+ "learning_rate": 1.894146537327533e-05,
50
+ "loss": 1.0713,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.17,
55
+ "learning_rate": 1.8568571761675893e-05,
56
+ "loss": 1.0523,
57
+ "step": 35
58
+ },
59
+ {
60
+ "epoch": 0.2,
61
+ "learning_rate": 1.814439916631857e-05,
62
+ "loss": 1.0533,
63
+ "step": 40
64
+ },
65
+ {
66
+ "epoch": 0.22,
67
+ "learning_rate": 1.7671486066220965e-05,
68
+ "loss": 1.0427,
69
+ "step": 45
70
+ },
71
+ {
72
+ "epoch": 0.25,
73
+ "learning_rate": 1.7152662630033506e-05,
74
+ "loss": 1.0308,
75
+ "step": 50
76
+ },
77
+ {
78
+ "epoch": 0.27,
79
+ "learning_rate": 1.659103377877423e-05,
80
+ "loss": 1.0395,
81
+ "step": 55
82
+ },
83
+ {
84
+ "epoch": 0.3,
85
+ "learning_rate": 1.598996060429634e-05,
86
+ "loss": 1.0268,
87
+ "step": 60
88
+ },
89
+ {
90
+ "epoch": 0.32,
91
+ "learning_rate": 1.5353040254690396e-05,
92
+ "loss": 1.0304,
93
+ "step": 65
94
+ },
95
+ {
96
+ "epoch": 0.34,
97
+ "learning_rate": 1.4684084406997903e-05,
98
+ "loss": 1.0264,
99
+ "step": 70
100
+ },
101
+ {
102
+ "epoch": 0.37,
103
+ "learning_rate": 1.3987096456067236e-05,
104
+ "loss": 1.0233,
105
+ "step": 75
106
+ },
107
+ {
108
+ "epoch": 0.39,
109
+ "learning_rate": 1.3266247556066122e-05,
110
+ "loss": 1.0094,
111
+ "step": 80
112
+ },
113
+ {
114
+ "epoch": 0.42,
115
+ "learning_rate": 1.252585165803135e-05,
116
+ "loss": 1.0238,
117
+ "step": 85
118
+ },
119
+ {
120
+ "epoch": 0.44,
121
+ "learning_rate": 1.1770339692844484e-05,
122
+ "loss": 1.013,
123
+ "step": 90
124
+ },
125
+ {
126
+ "epoch": 0.47,
127
+ "learning_rate": 1.1004233054136726e-05,
128
+ "loss": 1.022,
129
+ "step": 95
130
+ },
131
+ {
132
+ "epoch": 0.49,
133
+ "learning_rate": 1.0232116539815558e-05,
134
+ "loss": 1.0152,
135
+ "step": 100
136
+ },
137
+ {
138
+ "epoch": 0.52,
139
+ "learning_rate": 9.458610914145826e-06,
140
+ "loss": 1.0143,
141
+ "step": 105
142
+ },
143
+ {
144
+ "epoch": 0.54,
145
+ "learning_rate": 8.688345254588579e-06,
146
+ "loss": 1.019,
147
+ "step": 110
148
+ },
149
+ {
150
+ "epoch": 0.57,
151
+ "learning_rate": 7.92592924888925e-06,
152
+ "loss": 1.0175,
153
+ "step": 115
154
+ },
155
+ {
156
+ "epoch": 0.59,
157
+ "learning_rate": 7.175925608204428e-06,
158
+ "loss": 1.0169,
159
+ "step": 120
160
+ },
161
+ {
162
+ "epoch": 0.62,
163
+ "learning_rate": 6.442822761362015e-06,
164
+ "loss": 1.0167,
165
+ "step": 125
166
+ },
167
+ {
168
+ "epoch": 0.64,
169
+ "learning_rate": 5.731007993667155e-06,
170
+ "loss": 1.0117,
171
+ "step": 130
172
+ },
173
+ {
174
+ "epoch": 0.67,
175
+ "learning_rate": 5.044741191005908e-06,
176
+ "loss": 1.0105,
177
+ "step": 135
178
+ },
179
+ {
180
+ "epoch": 0.67,
181
+ "eval_loss": 1.0159411430358887,
182
+ "eval_runtime": 2343.4311,
183
+ "eval_samples_per_second": 9.862,
184
+ "eval_steps_per_second": 0.617,
185
+ "step": 136
186
+ },
187
+ {
188
+ "epoch": 0.67,
189
+ "step": 136,
190
+ "total_flos": 1.227605110369026e+19,
191
+ "train_loss": 1.0439463178901112,
192
+ "train_runtime": 75333.0344,
193
+ "train_samples_per_second": 2.759,
194
+ "train_steps_per_second": 0.003
195
+ }
196
+ ],
197
+ "logging_steps": 5,
198
+ "max_steps": 203,
199
+ "num_train_epochs": 1,
200
+ "save_steps": 500,
201
+ "total_flos": 1.227605110369026e+19,
202
+ "trial_name": null,
203
+ "trial_params": null
204
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:999658f84171b894d7a9a748797387b84f386965029df0d7ab314d87f0c3fa63
3
+ size 4155