sharkMeow commited on
Commit
f5a1f38
1 Parent(s): d281ae2

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: 8.0173
21
- - Accuracy: 0.0636
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: 8.0173
21
+ - Accuracy: 0.0640
22
 
23
  ## Model description
24
 
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 199.4579945799458,
3
+ "eval_accuracy": 0.06396761133603239,
4
+ "eval_loss": 8.017308235168457,
5
+ "eval_runtime": 4.52,
6
+ "eval_samples_per_second": 273.23,
7
+ "eval_steps_per_second": 13.717,
8
+ "total_flos": 7.274565728868803e+17,
9
+ "train_loss": 0.6285194662342901,
10
+ "train_runtime": 15527.0261,
11
+ "train_samples_per_second": 118.671,
12
+ "train_steps_per_second": 0.593
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 199.4579945799458,
3
+ "eval_accuracy": 0.06396761133603239,
4
+ "eval_loss": 8.017308235168457,
5
+ "eval_runtime": 4.52,
6
+ "eval_samples_per_second": 273.23,
7
+ "eval_steps_per_second": 13.717
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": 199.4579945799458,
3
+ "total_flos": 7.274565728868803e+17,
4
+ "train_loss": 0.6285194662342901,
5
+ "train_runtime": 15527.0261,
6
+ "train_samples_per_second": 118.671,
7
+ "train_steps_per_second": 0.593
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 199.4579945799458,
5
+ "eval_steps": 920,
6
+ "global_step": 9200,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 19.94579945799458,
13
+ "grad_norm": 3.2469282150268555,
14
+ "learning_rate": 9.009782608695652e-06,
15
+ "loss": 1.145,
16
+ "step": 920
17
+ },
18
+ {
19
+ "epoch": 19.94579945799458,
20
+ "eval_accuracy": 0.06477732793522267,
21
+ "eval_loss": 3.420142412185669,
22
+ "eval_runtime": 4.7595,
23
+ "eval_samples_per_second": 259.481,
24
+ "eval_steps_per_second": 13.027,
25
+ "step": 920
26
+ },
27
+ {
28
+ "epoch": 39.89159891598916,
29
+ "grad_norm": 7.137430191040039,
30
+ "learning_rate": 8.009782608695653e-06,
31
+ "loss": 0.8113,
32
+ "step": 1840
33
+ },
34
+ {
35
+ "epoch": 39.89159891598916,
36
+ "eval_accuracy": 0.06558704453441296,
37
+ "eval_loss": 4.794512748718262,
38
+ "eval_runtime": 4.6738,
39
+ "eval_samples_per_second": 264.237,
40
+ "eval_steps_per_second": 13.265,
41
+ "step": 1840
42
+ },
43
+ {
44
+ "epoch": 59.83739837398374,
45
+ "grad_norm": 6.65213680267334,
46
+ "learning_rate": 7.0097826086956536e-06,
47
+ "loss": 0.6672,
48
+ "step": 2760
49
+ },
50
+ {
51
+ "epoch": 59.83739837398374,
52
+ "eval_accuracy": 0.0620782726045884,
53
+ "eval_loss": 5.849432468414307,
54
+ "eval_runtime": 4.6724,
55
+ "eval_samples_per_second": 264.32,
56
+ "eval_steps_per_second": 13.27,
57
+ "step": 2760
58
+ },
59
+ {
60
+ "epoch": 79.78319783197831,
61
+ "grad_norm": 7.155282497406006,
62
+ "learning_rate": 6.009782608695652e-06,
63
+ "loss": 0.5974,
64
+ "step": 3680
65
+ },
66
+ {
67
+ "epoch": 79.78319783197831,
68
+ "eval_accuracy": 0.060931174089068826,
69
+ "eval_loss": 6.682722568511963,
70
+ "eval_runtime": 4.7013,
71
+ "eval_samples_per_second": 262.693,
72
+ "eval_steps_per_second": 13.188,
73
+ "step": 3680
74
+ },
75
+ {
76
+ "epoch": 99.7289972899729,
77
+ "grad_norm": 9.478208541870117,
78
+ "learning_rate": 5.009782608695652e-06,
79
+ "loss": 0.5557,
80
+ "step": 4600
81
+ },
82
+ {
83
+ "epoch": 99.7289972899729,
84
+ "eval_accuracy": 0.062348178137651825,
85
+ "eval_loss": 7.22858190536499,
86
+ "eval_runtime": 4.645,
87
+ "eval_samples_per_second": 265.878,
88
+ "eval_steps_per_second": 13.348,
89
+ "step": 4600
90
+ },
91
+ {
92
+ "epoch": 119.67479674796748,
93
+ "grad_norm": 4.209677219390869,
94
+ "learning_rate": 4.009782608695653e-06,
95
+ "loss": 0.5305,
96
+ "step": 5520
97
+ },
98
+ {
99
+ "epoch": 119.67479674796748,
100
+ "eval_accuracy": 0.06275303643724696,
101
+ "eval_loss": 8.140605926513672,
102
+ "eval_runtime": 4.6969,
103
+ "eval_samples_per_second": 262.941,
104
+ "eval_steps_per_second": 13.2,
105
+ "step": 5520
106
+ },
107
+ {
108
+ "epoch": 139.62059620596207,
109
+ "grad_norm": 2.9163646697998047,
110
+ "learning_rate": 3.009782608695652e-06,
111
+ "loss": 0.5093,
112
+ "step": 6440
113
+ },
114
+ {
115
+ "epoch": 139.62059620596207,
116
+ "eval_accuracy": 0.06350491613649509,
117
+ "eval_loss": 7.877014636993408,
118
+ "eval_runtime": 4.6354,
119
+ "eval_samples_per_second": 266.425,
120
+ "eval_steps_per_second": 13.375,
121
+ "step": 6440
122
+ },
123
+ {
124
+ "epoch": 159.56639566395663,
125
+ "grad_norm": 2.5000979900360107,
126
+ "learning_rate": 2.0097826086956523e-06,
127
+ "loss": 0.4975,
128
+ "step": 7360
129
+ },
130
+ {
131
+ "epoch": 159.56639566395663,
132
+ "eval_accuracy": 0.06305668016194332,
133
+ "eval_loss": 7.953996181488037,
134
+ "eval_runtime": 4.665,
135
+ "eval_samples_per_second": 264.738,
136
+ "eval_steps_per_second": 13.29,
137
+ "step": 7360
138
+ },
139
+ {
140
+ "epoch": 179.5121951219512,
141
+ "grad_norm": 4.382449626922607,
142
+ "learning_rate": 1.0097826086956521e-06,
143
+ "loss": 0.4903,
144
+ "step": 8280
145
+ },
146
+ {
147
+ "epoch": 179.5121951219512,
148
+ "eval_accuracy": 0.06324786324786325,
149
+ "eval_loss": 7.8320698738098145,
150
+ "eval_runtime": 4.6898,
151
+ "eval_samples_per_second": 263.337,
152
+ "eval_steps_per_second": 13.22,
153
+ "step": 8280
154
+ },
155
+ {
156
+ "epoch": 199.4579945799458,
157
+ "grad_norm": 2.3895769119262695,
158
+ "learning_rate": 9.782608695652175e-09,
159
+ "loss": 0.481,
160
+ "step": 9200
161
+ },
162
+ {
163
+ "epoch": 199.4579945799458,
164
+ "eval_accuracy": 0.06364372469635628,
165
+ "eval_loss": 8.017308235168457,
166
+ "eval_runtime": 4.7442,
167
+ "eval_samples_per_second": 260.32,
168
+ "eval_steps_per_second": 13.069,
169
+ "step": 9200
170
+ },
171
+ {
172
+ "epoch": 199.4579945799458,
173
+ "step": 9200,
174
+ "total_flos": 7.274565728868803e+17,
175
+ "train_loss": 0.6285194662342901,
176
+ "train_runtime": 15527.0261,
177
+ "train_samples_per_second": 118.671,
178
+ "train_steps_per_second": 0.593
179
+ }
180
+ ],
181
+ "logging_steps": 920,
182
+ "max_steps": 9200,
183
+ "num_input_tokens_seen": 0,
184
+ "num_train_epochs": 200,
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": 7.274565728868803e+17,
199
+ "train_batch_size": 25,
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