sharkMeow commited on
Commit
e1a42e0
1 Parent(s): ff948b4

End of training

Browse files
README.md CHANGED
@@ -18,7 +18,7 @@ should probably proofread and complete it, then remove this comment. -->
18
  This model is a fine-tuned version of [OFA-Sys/chinese-clip-vit-base-patch16](https://huggingface.co/OFA-Sys/chinese-clip-vit-base-patch16) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 3.5401
21
- - Accuracy: 0.0640
22
 
23
  ## Model description
24
 
 
18
  This model is a fine-tuned version of [OFA-Sys/chinese-clip-vit-base-patch16](https://huggingface.co/OFA-Sys/chinese-clip-vit-base-patch16) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 3.5401
21
+ - Accuracy: 0.0635
22
 
23
  ## Model description
24
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 59.820761762509335,
3
+ "eval_accuracy": 0.06350342570815012,
4
+ "eval_loss": 3.5401461124420166,
5
+ "eval_runtime": 27.0698,
6
+ "eval_samples_per_second": 262.729,
7
+ "eval_steps_per_second": 13.151,
8
+ "total_flos": 1.2667425775753882e+18,
9
+ "train_loss": 1.5184656874219726,
10
+ "train_runtime": 28586.6077,
11
+ "train_samples_per_second": 112.387,
12
+ "train_steps_per_second": 0.56
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 59.820761762509335,
3
+ "eval_accuracy": 0.06350342570815012,
4
+ "eval_loss": 3.5401461124420166,
5
+ "eval_runtime": 27.0698,
6
+ "eval_samples_per_second": 262.729,
7
+ "eval_steps_per_second": 13.151
8
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "ChineseCLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 224,
26
+ "width": 224
27
+ }
28
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 59.820761762509335,
3
+ "total_flos": 1.2667425775753882e+18,
4
+ "train_loss": 1.5184656874219726,
5
+ "train_runtime": 28586.6077,
6
+ "train_samples_per_second": 112.387,
7
+ "train_steps_per_second": 0.56
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 59.820761762509335,
5
+ "eval_steps": 1602,
6
+ "global_step": 16020,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 5.982076176250933,
13
+ "grad_norm": 1.965578317642212,
14
+ "learning_rate": 9.001248439450687e-06,
15
+ "loss": 1.7271,
16
+ "step": 1602
17
+ },
18
+ {
19
+ "epoch": 5.982076176250933,
20
+ "eval_accuracy": 0.07888076490438695,
21
+ "eval_loss": 3.0069968700408936,
22
+ "eval_runtime": 27.4304,
23
+ "eval_samples_per_second": 259.274,
24
+ "eval_steps_per_second": 12.978,
25
+ "step": 1602
26
+ },
27
+ {
28
+ "epoch": 11.964152352501866,
29
+ "grad_norm": 5.727398872375488,
30
+ "learning_rate": 8.001248439450687e-06,
31
+ "loss": 1.6271,
32
+ "step": 3204
33
+ },
34
+ {
35
+ "epoch": 11.964152352501866,
36
+ "eval_accuracy": 0.07318616422947131,
37
+ "eval_loss": 3.151439666748047,
38
+ "eval_runtime": 26.734,
39
+ "eval_samples_per_second": 266.029,
40
+ "eval_steps_per_second": 13.316,
41
+ "step": 3204
42
+ },
43
+ {
44
+ "epoch": 17.9462285287528,
45
+ "grad_norm": 5.7716898918151855,
46
+ "learning_rate": 7.002496878901374e-06,
47
+ "loss": 1.552,
48
+ "step": 4806
49
+ },
50
+ {
51
+ "epoch": 17.9462285287528,
52
+ "eval_accuracy": 0.07049118860142482,
53
+ "eval_loss": 3.151090621948242,
54
+ "eval_runtime": 26.8156,
55
+ "eval_samples_per_second": 265.218,
56
+ "eval_steps_per_second": 13.276,
57
+ "step": 4806
58
+ },
59
+ {
60
+ "epoch": 23.928304705003733,
61
+ "grad_norm": 2.6458210945129395,
62
+ "learning_rate": 6.002496878901374e-06,
63
+ "loss": 1.5094,
64
+ "step": 6408
65
+ },
66
+ {
67
+ "epoch": 23.928304705003733,
68
+ "eval_accuracy": 0.06840551181102363,
69
+ "eval_loss": 3.3705952167510986,
70
+ "eval_runtime": 26.7683,
71
+ "eval_samples_per_second": 265.687,
72
+ "eval_steps_per_second": 13.299,
73
+ "step": 6408
74
+ },
75
+ {
76
+ "epoch": 29.910380881254667,
77
+ "grad_norm": 4.236194133758545,
78
+ "learning_rate": 5.002496878901374e-06,
79
+ "loss": 1.484,
80
+ "step": 8010
81
+ },
82
+ {
83
+ "epoch": 29.910380881254667,
84
+ "eval_accuracy": 0.06718222722159731,
85
+ "eval_loss": 3.4197287559509277,
86
+ "eval_runtime": 26.7706,
87
+ "eval_samples_per_second": 265.665,
88
+ "eval_steps_per_second": 13.298,
89
+ "step": 8010
90
+ },
91
+ {
92
+ "epoch": 35.8924570575056,
93
+ "grad_norm": 1.0438162088394165,
94
+ "learning_rate": 4.003121098626717e-06,
95
+ "loss": 1.4683,
96
+ "step": 9612
97
+ },
98
+ {
99
+ "epoch": 35.8924570575056,
100
+ "eval_accuracy": 0.0666010498687664,
101
+ "eval_loss": 3.527012586593628,
102
+ "eval_runtime": 26.8167,
103
+ "eval_samples_per_second": 265.208,
104
+ "eval_steps_per_second": 13.275,
105
+ "step": 9612
106
+ },
107
+ {
108
+ "epoch": 41.87453323375654,
109
+ "grad_norm": 1.4691572189331055,
110
+ "learning_rate": 3.0037453183520603e-06,
111
+ "loss": 1.4567,
112
+ "step": 11214
113
+ },
114
+ {
115
+ "epoch": 41.87453323375654,
116
+ "eval_accuracy": 0.06578418769082436,
117
+ "eval_loss": 3.4933013916015625,
118
+ "eval_runtime": 26.8665,
119
+ "eval_samples_per_second": 264.716,
120
+ "eval_steps_per_second": 13.251,
121
+ "step": 11214
122
+ },
123
+ {
124
+ "epoch": 47.856609410007465,
125
+ "grad_norm": 1.4771349430084229,
126
+ "learning_rate": 2.004369538077403e-06,
127
+ "loss": 1.4541,
128
+ "step": 12816
129
+ },
130
+ {
131
+ "epoch": 47.856609410007465,
132
+ "eval_accuracy": 0.06527699662542182,
133
+ "eval_loss": 3.4873604774475098,
134
+ "eval_runtime": 26.963,
135
+ "eval_samples_per_second": 263.769,
136
+ "eval_steps_per_second": 13.203,
137
+ "step": 12816
138
+ },
139
+ {
140
+ "epoch": 53.8386855862584,
141
+ "grad_norm": 2.609039783477783,
142
+ "learning_rate": 1.0049937578027467e-06,
143
+ "loss": 1.4539,
144
+ "step": 14418
145
+ },
146
+ {
147
+ "epoch": 53.8386855862584,
148
+ "eval_accuracy": 0.06455443069616298,
149
+ "eval_loss": 3.530477285385132,
150
+ "eval_runtime": 26.6641,
151
+ "eval_samples_per_second": 266.726,
152
+ "eval_steps_per_second": 13.351,
153
+ "step": 14418
154
+ },
155
+ {
156
+ "epoch": 59.820761762509335,
157
+ "grad_norm": 0.7880098223686218,
158
+ "learning_rate": 4.993757802746567e-09,
159
+ "loss": 1.452,
160
+ "step": 16020
161
+ },
162
+ {
163
+ "epoch": 59.820761762509335,
164
+ "eval_accuracy": 0.0639763779527559,
165
+ "eval_loss": 3.5401461124420166,
166
+ "eval_runtime": 27.1718,
167
+ "eval_samples_per_second": 261.742,
168
+ "eval_steps_per_second": 13.102,
169
+ "step": 16020
170
+ },
171
+ {
172
+ "epoch": 59.820761762509335,
173
+ "step": 16020,
174
+ "total_flos": 1.2667425775753882e+18,
175
+ "train_loss": 1.5184656874219726,
176
+ "train_runtime": 28586.6077,
177
+ "train_samples_per_second": 112.387,
178
+ "train_steps_per_second": 0.56
179
+ }
180
+ ],
181
+ "logging_steps": 1602,
182
+ "max_steps": 16020,
183
+ "num_input_tokens_seen": 0,
184
+ "num_train_epochs": 60,
185
+ "save_steps": 500,
186
+ "stateful_callbacks": {
187
+ "TrainerControl": {
188
+ "args": {
189
+ "should_epoch_stop": false,
190
+ "should_evaluate": false,
191
+ "should_log": false,
192
+ "should_save": true,
193
+ "should_training_stop": true
194
+ },
195
+ "attributes": {}
196
+ }
197
+ },
198
+ "total_flos": 1.2667425775753882e+18,
199
+ "train_batch_size": 20,
200
+ "trial_name": null,
201
+ "trial_params": null
202
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff