End of training
Browse files- README.md +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- preprocessor_config.json +28 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- train_results.json +8 -0
- trainer_state.json +202 -0
- vocab.txt +0 -0
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: 2.6624
|
21 |
-
- Accuracy: 0.
|
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: 2.6624
|
21 |
+
- Accuracy: 0.3279
|
22 |
|
23 |
## Model description
|
24 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 59.67567567567568,
|
3 |
+
"eval_accuracy": 0.327919453222606,
|
4 |
+
"eval_loss": 2.662411689758301,
|
5 |
+
"eval_runtime": 3.7949,
|
6 |
+
"eval_samples_per_second": 325.968,
|
7 |
+
"eval_steps_per_second": 16.338,
|
8 |
+
"total_flos": 1.4462122119191654e+17,
|
9 |
+
"train_loss": 0.7289675836977751,
|
10 |
+
"train_runtime": 3803.6526,
|
11 |
+
"train_samples_per_second": 145.628,
|
12 |
+
"train_steps_per_second": 0.726
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 59.67567567567568,
|
3 |
+
"eval_accuracy": 0.327919453222606,
|
4 |
+
"eval_loss": 2.662411689758301,
|
5 |
+
"eval_runtime": 3.7949,
|
6 |
+
"eval_samples_per_second": 325.968,
|
7 |
+
"eval_steps_per_second": 16.338
|
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.67567567567568,
|
3 |
+
"total_flos": 1.4462122119191654e+17,
|
4 |
+
"train_loss": 0.7289675836977751,
|
5 |
+
"train_runtime": 3803.6526,
|
6 |
+
"train_samples_per_second": 145.628,
|
7 |
+
"train_steps_per_second": 0.726
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 59.67567567567568,
|
5 |
+
"eval_steps": 276,
|
6 |
+
"global_step": 2760,
|
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.967567567567568,
|
13 |
+
"grad_norm": 2.231717109680176,
|
14 |
+
"learning_rate": 9.007246376811595e-06,
|
15 |
+
"loss": 1.1843,
|
16 |
+
"step": 276
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 5.967567567567568,
|
20 |
+
"eval_accuracy": 0.3670169765561843,
|
21 |
+
"eval_loss": 2.2262628078460693,
|
22 |
+
"eval_runtime": 3.9032,
|
23 |
+
"eval_samples_per_second": 316.921,
|
24 |
+
"eval_steps_per_second": 15.884,
|
25 |
+
"step": 276
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 11.935135135135136,
|
29 |
+
"grad_norm": 3.9312663078308105,
|
30 |
+
"learning_rate": 8.007246376811595e-06,
|
31 |
+
"loss": 0.9309,
|
32 |
+
"step": 552
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 11.935135135135136,
|
36 |
+
"eval_accuracy": 0.3427647534357316,
|
37 |
+
"eval_loss": 2.3462769985198975,
|
38 |
+
"eval_runtime": 3.9045,
|
39 |
+
"eval_samples_per_second": 316.817,
|
40 |
+
"eval_steps_per_second": 15.879,
|
41 |
+
"step": 552
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 17.9027027027027,
|
45 |
+
"grad_norm": 4.585145950317383,
|
46 |
+
"learning_rate": 7.007246376811595e-06,
|
47 |
+
"loss": 0.7822,
|
48 |
+
"step": 828
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 17.9027027027027,
|
52 |
+
"eval_accuracy": 0.33441120991646456,
|
53 |
+
"eval_loss": 2.4977803230285645,
|
54 |
+
"eval_runtime": 3.829,
|
55 |
+
"eval_samples_per_second": 323.058,
|
56 |
+
"eval_steps_per_second": 16.192,
|
57 |
+
"step": 828
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 23.87027027027027,
|
61 |
+
"grad_norm": 4.77891206741333,
|
62 |
+
"learning_rate": 6.007246376811595e-06,
|
63 |
+
"loss": 0.7077,
|
64 |
+
"step": 1104
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 23.87027027027027,
|
68 |
+
"eval_accuracy": 0.332053354890865,
|
69 |
+
"eval_loss": 2.5808465480804443,
|
70 |
+
"eval_runtime": 3.9331,
|
71 |
+
"eval_samples_per_second": 314.51,
|
72 |
+
"eval_steps_per_second": 15.764,
|
73 |
+
"step": 1104
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 29.83783783783784,
|
77 |
+
"grad_norm": 3.8401949405670166,
|
78 |
+
"learning_rate": 5.0072463768115946e-06,
|
79 |
+
"loss": 0.6579,
|
80 |
+
"step": 1380
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 29.83783783783784,
|
84 |
+
"eval_accuracy": 0.32966855295068714,
|
85 |
+
"eval_loss": 2.588106632232666,
|
86 |
+
"eval_runtime": 3.8661,
|
87 |
+
"eval_samples_per_second": 319.964,
|
88 |
+
"eval_steps_per_second": 16.037,
|
89 |
+
"step": 1380
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 35.8054054054054,
|
93 |
+
"grad_norm": 5.049342155456543,
|
94 |
+
"learning_rate": 4.007246376811594e-06,
|
95 |
+
"loss": 0.6308,
|
96 |
+
"step": 1656
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 35.8054054054054,
|
100 |
+
"eval_accuracy": 0.3283481541363514,
|
101 |
+
"eval_loss": 2.6445364952087402,
|
102 |
+
"eval_runtime": 3.9013,
|
103 |
+
"eval_samples_per_second": 317.073,
|
104 |
+
"eval_steps_per_second": 15.892,
|
105 |
+
"step": 1656
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 41.77297297297297,
|
109 |
+
"grad_norm": 4.533051013946533,
|
110 |
+
"learning_rate": 3.0072463768115946e-06,
|
111 |
+
"loss": 0.6117,
|
112 |
+
"step": 1932
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 41.77297297297297,
|
116 |
+
"eval_accuracy": 0.3280979327866959,
|
117 |
+
"eval_loss": 2.662590980529785,
|
118 |
+
"eval_runtime": 3.9106,
|
119 |
+
"eval_samples_per_second": 316.317,
|
120 |
+
"eval_steps_per_second": 15.854,
|
121 |
+
"step": 1932
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 47.74054054054054,
|
125 |
+
"grad_norm": 3.6275293827056885,
|
126 |
+
"learning_rate": 2.0108695652173916e-06,
|
127 |
+
"loss": 0.6045,
|
128 |
+
"step": 2208
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 47.74054054054054,
|
132 |
+
"eval_accuracy": 0.32841552142279706,
|
133 |
+
"eval_loss": 2.6373841762542725,
|
134 |
+
"eval_runtime": 3.8804,
|
135 |
+
"eval_samples_per_second": 318.779,
|
136 |
+
"eval_steps_per_second": 15.978,
|
137 |
+
"step": 2208
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 53.70810810810811,
|
141 |
+
"grad_norm": 5.026205539703369,
|
142 |
+
"learning_rate": 1.0108695652173914e-06,
|
143 |
+
"loss": 0.5889,
|
144 |
+
"step": 2484
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 53.70810810810811,
|
148 |
+
"eval_accuracy": 0.32803377346627144,
|
149 |
+
"eval_loss": 2.6702210903167725,
|
150 |
+
"eval_runtime": 3.8688,
|
151 |
+
"eval_samples_per_second": 319.736,
|
152 |
+
"eval_steps_per_second": 16.026,
|
153 |
+
"step": 2484
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 59.67567567567568,
|
157 |
+
"grad_norm": 3.773498773574829,
|
158 |
+
"learning_rate": 1.0869565217391305e-08,
|
159 |
+
"loss": 0.5908,
|
160 |
+
"step": 2760
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 59.67567567567568,
|
164 |
+
"eval_accuracy": 0.3279708973322555,
|
165 |
+
"eval_loss": 2.662411689758301,
|
166 |
+
"eval_runtime": 3.9189,
|
167 |
+
"eval_samples_per_second": 315.65,
|
168 |
+
"eval_steps_per_second": 15.821,
|
169 |
+
"step": 2760
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 59.67567567567568,
|
173 |
+
"step": 2760,
|
174 |
+
"total_flos": 1.4462122119191654e+17,
|
175 |
+
"train_loss": 0.7289675836977751,
|
176 |
+
"train_runtime": 3803.6526,
|
177 |
+
"train_samples_per_second": 145.628,
|
178 |
+
"train_steps_per_second": 0.726
|
179 |
+
}
|
180 |
+
],
|
181 |
+
"logging_steps": 276,
|
182 |
+
"max_steps": 2760,
|
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.4462122119191654e+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
|
|