vinluvie commited on
Commit
a34107f
1 Parent(s): 15780ff

End of training

Browse files
README.md CHANGED
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
15
  # clip-vit-large-patch14-finetuned-general
16
 
17
  This model is a fine-tuned version of [openai/clip-vit-large-patch14](https://huggingface.co/openai/clip-vit-large-patch14) on the imagefolder dataset.
 
 
18
 
19
  ## Model description
20
 
 
15
  # clip-vit-large-patch14-finetuned-general
16
 
17
  This model is a fine-tuned version of [openai/clip-vit-large-patch14](https://huggingface.co/openai/clip-vit-large-patch14) on the imagefolder dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1860
20
 
21
  ## Model description
22
 
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_loss": 0.18595609068870544,
4
+ "eval_runtime": 850.4398,
5
+ "eval_samples_per_second": 5.79,
6
+ "eval_steps_per_second": 0.181,
7
+ "test_loss": 0.1841932237148285,
8
+ "test_runtime": 1913.7621,
9
+ "test_samples_per_second": 5.144,
10
+ "test_steps_per_second": 0.161,
11
+ "train_loss": 0.17480758806554283,
12
+ "train_runtime": 299478.6207,
13
+ "train_samples_per_second": 1.314,
14
+ "train_steps_per_second": 0.041
15
+ }
eval_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_loss": 0.18595609068870544,
4
+ "eval_runtime": 850.4398,
5
+ "eval_samples_per_second": 5.79,
6
+ "eval_steps_per_second": 0.181
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_center_crop",
8
+ "crop_size",
9
+ "do_rescale",
10
+ "rescale_factor",
11
+ "do_normalize",
12
+ "image_mean",
13
+ "image_std",
14
+ "do_convert_rgb",
15
+ "return_tensors",
16
+ "data_format",
17
+ "input_data_format"
18
+ ],
19
+ "crop_size": {
20
+ "height": 224,
21
+ "width": 224
22
+ },
23
+ "do_center_crop": true,
24
+ "do_convert_rgb": true,
25
+ "do_normalize": true,
26
+ "do_rescale": true,
27
+ "do_resize": true,
28
+ "image_mean": [
29
+ 0.48145466,
30
+ 0.4578275,
31
+ 0.40821073
32
+ ],
33
+ "image_processor_type": "CLIPImageProcessor",
34
+ "image_std": [
35
+ 0.26862954,
36
+ 0.26130258,
37
+ 0.27577711
38
+ ],
39
+ "resample": 3,
40
+ "rescale_factor": 0.00392156862745098,
41
+ "size": {
42
+ "shortest_edge": 224
43
+ }
44
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
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": {
17
+ "content": "<|endoftext|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<|endoftext|>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
test_results.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "test_loss": 0.1841932237148285,
3
+ "test_runtime": 1913.7621,
4
+ "test_samples_per_second": 5.144,
5
+ "test_steps_per_second": 0.161
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "model_max_length": 77,
27
+ "pad_token": "<|endoftext|>",
28
+ "tokenizer_class": "CLIPTokenizer",
29
+ "unk_token": "<|endoftext|>"
30
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 0.17480758806554283,
4
+ "train_runtime": 299478.6207,
5
+ "train_samples_per_second": 1.314,
6
+ "train_steps_per_second": 0.041
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 12300,
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.41,
13
+ "grad_norm": 29.442007064819336,
14
+ "learning_rate": 4.796747967479675e-05,
15
+ "loss": 1.1714,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.81,
20
+ "grad_norm": 17.30375099182129,
21
+ "learning_rate": 4.59349593495935e-05,
22
+ "loss": 0.5578,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 1.22,
27
+ "grad_norm": 9.899393081665039,
28
+ "learning_rate": 4.390243902439025e-05,
29
+ "loss": 0.4015,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 1.63,
34
+ "grad_norm": 8.312630653381348,
35
+ "learning_rate": 4.186991869918699e-05,
36
+ "loss": 0.3135,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 2.03,
41
+ "grad_norm": 7.51059627532959,
42
+ "learning_rate": 3.983739837398374e-05,
43
+ "loss": 0.2809,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 2.44,
48
+ "grad_norm": 5.824585914611816,
49
+ "learning_rate": 3.780487804878049e-05,
50
+ "loss": 0.2045,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 2.85,
55
+ "grad_norm": 20.64141845703125,
56
+ "learning_rate": 3.577235772357724e-05,
57
+ "loss": 0.1899,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 3.25,
62
+ "grad_norm": 4.098996162414551,
63
+ "learning_rate": 3.373983739837399e-05,
64
+ "loss": 0.156,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 3.66,
69
+ "grad_norm": 11.682610511779785,
70
+ "learning_rate": 3.170731707317073e-05,
71
+ "loss": 0.1367,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 4.07,
76
+ "grad_norm": 1.980808138847351,
77
+ "learning_rate": 2.9674796747967482e-05,
78
+ "loss": 0.1321,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 4.47,
83
+ "grad_norm": 21.24442481994629,
84
+ "learning_rate": 2.764227642276423e-05,
85
+ "loss": 0.1024,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 4.88,
90
+ "grad_norm": 10.403449058532715,
91
+ "learning_rate": 2.5609756097560977e-05,
92
+ "loss": 0.0965,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 5.28,
97
+ "grad_norm": 6.274624824523926,
98
+ "learning_rate": 2.3577235772357724e-05,
99
+ "loss": 0.0811,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 5.69,
104
+ "grad_norm": 18.304744720458984,
105
+ "learning_rate": 2.1544715447154475e-05,
106
+ "loss": 0.0787,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 6.1,
111
+ "grad_norm": 6.117405891418457,
112
+ "learning_rate": 1.9512195121951222e-05,
113
+ "loss": 0.0636,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 6.5,
118
+ "grad_norm": 6.909726619720459,
119
+ "learning_rate": 1.747967479674797e-05,
120
+ "loss": 0.0578,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 6.91,
125
+ "grad_norm": 7.566128253936768,
126
+ "learning_rate": 1.5447154471544717e-05,
127
+ "loss": 0.0564,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 7.32,
132
+ "grad_norm": 3.8233773708343506,
133
+ "learning_rate": 1.3414634146341466e-05,
134
+ "loss": 0.0474,
135
+ "step": 9000
136
+ },
137
+ {
138
+ "epoch": 7.72,
139
+ "grad_norm": 9.988646507263184,
140
+ "learning_rate": 1.1382113821138211e-05,
141
+ "loss": 0.0394,
142
+ "step": 9500
143
+ },
144
+ {
145
+ "epoch": 8.13,
146
+ "grad_norm": 7.508295059204102,
147
+ "learning_rate": 9.34959349593496e-06,
148
+ "loss": 0.0339,
149
+ "step": 10000
150
+ },
151
+ {
152
+ "epoch": 8.54,
153
+ "grad_norm": 8.255553245544434,
154
+ "learning_rate": 7.317073170731707e-06,
155
+ "loss": 0.0279,
156
+ "step": 10500
157
+ },
158
+ {
159
+ "epoch": 8.94,
160
+ "grad_norm": 0.14910294115543365,
161
+ "learning_rate": 5.2845528455284555e-06,
162
+ "loss": 0.0248,
163
+ "step": 11000
164
+ },
165
+ {
166
+ "epoch": 9.35,
167
+ "grad_norm": 0.014114579185843468,
168
+ "learning_rate": 3.2520325203252037e-06,
169
+ "loss": 0.018,
170
+ "step": 11500
171
+ },
172
+ {
173
+ "epoch": 9.76,
174
+ "grad_norm": 0.12875856459140778,
175
+ "learning_rate": 1.2195121951219514e-06,
176
+ "loss": 0.0182,
177
+ "step": 12000
178
+ },
179
+ {
180
+ "epoch": 10.0,
181
+ "step": 12300,
182
+ "total_flos": 7.078965077743022e+16,
183
+ "train_loss": 0.17480758806554283,
184
+ "train_runtime": 299478.6207,
185
+ "train_samples_per_second": 1.314,
186
+ "train_steps_per_second": 0.041
187
+ }
188
+ ],
189
+ "logging_steps": 500,
190
+ "max_steps": 12300,
191
+ "num_input_tokens_seen": 0,
192
+ "num_train_epochs": 10,
193
+ "save_steps": 500,
194
+ "total_flos": 7.078965077743022e+16,
195
+ "train_batch_size": 32,
196
+ "trial_name": null,
197
+ "trial_params": null
198
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff