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: 3.2382
|
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: 3.2382
|
21 |
+
- Accuracy: 0.1291
|
22 |
|
23 |
## Model description
|
24 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 99.83948635634029,
|
3 |
+
"eval_accuracy": 0.1290690086163988,
|
4 |
+
"eval_loss": 3.238151788711548,
|
5 |
+
"eval_runtime": 30.8816,
|
6 |
+
"eval_samples_per_second": 266.146,
|
7 |
+
"eval_steps_per_second": 13.309,
|
8 |
+
"total_flos": 9.751242948802248e+17,
|
9 |
+
"train_loss": 2.186087721061093,
|
10 |
+
"train_runtime": 48974.7066,
|
11 |
+
"train_samples_per_second": 127.117,
|
12 |
+
"train_steps_per_second": 0.635
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 99.83948635634029,
|
3 |
+
"eval_accuracy": 0.1290690086163988,
|
4 |
+
"eval_loss": 3.238151788711548,
|
5 |
+
"eval_runtime": 30.8816,
|
6 |
+
"eval_samples_per_second": 266.146,
|
7 |
+
"eval_steps_per_second": 13.309
|
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": 99.83948635634029,
|
3 |
+
"total_flos": 9.751242948802248e+17,
|
4 |
+
"train_loss": 2.186087721061093,
|
5 |
+
"train_runtime": 48974.7066,
|
6 |
+
"train_samples_per_second": 127.117,
|
7 |
+
"train_steps_per_second": 0.635
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 99.83948635634029,
|
5 |
+
"eval_steps": 3110,
|
6 |
+
"global_step": 31100,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 9.983948635634029,
|
13 |
+
"grad_norm": 4.509789943695068,
|
14 |
+
"learning_rate": 9.001286173633441e-06,
|
15 |
+
"loss": 2.5113,
|
16 |
+
"step": 3110
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 9.983948635634029,
|
20 |
+
"eval_accuracy": 0.15658839274850955,
|
21 |
+
"eval_loss": 2.851839542388916,
|
22 |
+
"eval_runtime": 30.9634,
|
23 |
+
"eval_samples_per_second": 265.442,
|
24 |
+
"eval_steps_per_second": 13.274,
|
25 |
+
"step": 3110
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 19.967897271268058,
|
29 |
+
"grad_norm": 3.6269993782043457,
|
30 |
+
"learning_rate": 8.001607717041802e-06,
|
31 |
+
"loss": 2.3003,
|
32 |
+
"step": 6220
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 19.967897271268058,
|
36 |
+
"eval_accuracy": 0.14758486433872733,
|
37 |
+
"eval_loss": 3.0242345333099365,
|
38 |
+
"eval_runtime": 30.8398,
|
39 |
+
"eval_samples_per_second": 266.506,
|
40 |
+
"eval_steps_per_second": 13.327,
|
41 |
+
"step": 6220
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 29.951845906902086,
|
45 |
+
"grad_norm": 4.074563980102539,
|
46 |
+
"learning_rate": 7.0022508038585215e-06,
|
47 |
+
"loss": 2.2124,
|
48 |
+
"step": 9330
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 29.951845906902086,
|
52 |
+
"eval_accuracy": 0.14040637547146856,
|
53 |
+
"eval_loss": 3.124624729156494,
|
54 |
+
"eval_runtime": 30.966,
|
55 |
+
"eval_samples_per_second": 265.42,
|
56 |
+
"eval_steps_per_second": 13.273,
|
57 |
+
"step": 9330
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 39.935794542536115,
|
61 |
+
"grad_norm": 4.5159077644348145,
|
62 |
+
"learning_rate": 6.002572347266882e-06,
|
63 |
+
"loss": 2.1682,
|
64 |
+
"step": 12440
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 39.935794542536115,
|
68 |
+
"eval_accuracy": 0.13709088696921767,
|
69 |
+
"eval_loss": 3.18056058883667,
|
70 |
+
"eval_runtime": 30.9323,
|
71 |
+
"eval_samples_per_second": 265.709,
|
72 |
+
"eval_steps_per_second": 13.287,
|
73 |
+
"step": 12440
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 49.919743178170144,
|
77 |
+
"grad_norm": 4.013918399810791,
|
78 |
+
"learning_rate": 5.003215434083602e-06,
|
79 |
+
"loss": 2.1384,
|
80 |
+
"step": 15550
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 49.919743178170144,
|
84 |
+
"eval_accuracy": 0.1342255748874559,
|
85 |
+
"eval_loss": 3.2024312019348145,
|
86 |
+
"eval_runtime": 30.8117,
|
87 |
+
"eval_samples_per_second": 266.749,
|
88 |
+
"eval_steps_per_second": 13.339,
|
89 |
+
"step": 15550
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 59.90369181380417,
|
93 |
+
"grad_norm": 3.466132640838623,
|
94 |
+
"learning_rate": 4.003536977491962e-06,
|
95 |
+
"loss": 2.1246,
|
96 |
+
"step": 18660
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 59.90369181380417,
|
100 |
+
"eval_accuracy": 0.1322545321815306,
|
101 |
+
"eval_loss": 3.2168166637420654,
|
102 |
+
"eval_runtime": 30.7446,
|
103 |
+
"eval_samples_per_second": 267.331,
|
104 |
+
"eval_steps_per_second": 13.368,
|
105 |
+
"step": 18660
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 69.88764044943821,
|
109 |
+
"grad_norm": 2.7771756649017334,
|
110 |
+
"learning_rate": 3.004180064308682e-06,
|
111 |
+
"loss": 2.1121,
|
112 |
+
"step": 21770
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 69.88764044943821,
|
116 |
+
"eval_accuracy": 0.13129855908782787,
|
117 |
+
"eval_loss": 3.2208762168884277,
|
118 |
+
"eval_runtime": 30.8368,
|
119 |
+
"eval_samples_per_second": 266.532,
|
120 |
+
"eval_steps_per_second": 13.328,
|
121 |
+
"step": 21770
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 79.87158908507223,
|
125 |
+
"grad_norm": 2.471256732940674,
|
126 |
+
"learning_rate": 2.0045016077170422e-06,
|
127 |
+
"loss": 2.0987,
|
128 |
+
"step": 24880
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 79.87158908507223,
|
132 |
+
"eval_accuracy": 0.1307032485703857,
|
133 |
+
"eval_loss": 3.213690996170044,
|
134 |
+
"eval_runtime": 30.7206,
|
135 |
+
"eval_samples_per_second": 267.54,
|
136 |
+
"eval_steps_per_second": 13.379,
|
137 |
+
"step": 24880
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 89.85553772070627,
|
141 |
+
"grad_norm": 2.8352723121643066,
|
142 |
+
"learning_rate": 1.0048231511254019e-06,
|
143 |
+
"loss": 2.0986,
|
144 |
+
"step": 27990
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 89.85553772070627,
|
148 |
+
"eval_accuracy": 0.1300915223533547,
|
149 |
+
"eval_loss": 3.2373690605163574,
|
150 |
+
"eval_runtime": 30.864,
|
151 |
+
"eval_samples_per_second": 266.297,
|
152 |
+
"eval_steps_per_second": 13.316,
|
153 |
+
"step": 27990
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 99.83948635634029,
|
157 |
+
"grad_norm": 2.9546291828155518,
|
158 |
+
"learning_rate": 5.144694533762058e-09,
|
159 |
+
"loss": 2.0962,
|
160 |
+
"step": 31100
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"epoch": 99.83948635634029,
|
164 |
+
"eval_accuracy": 0.12952913979802896,
|
165 |
+
"eval_loss": 3.238151788711548,
|
166 |
+
"eval_runtime": 31.0746,
|
167 |
+
"eval_samples_per_second": 264.492,
|
168 |
+
"eval_steps_per_second": 13.226,
|
169 |
+
"step": 31100
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 99.83948635634029,
|
173 |
+
"step": 31100,
|
174 |
+
"total_flos": 9.751242948802248e+17,
|
175 |
+
"train_loss": 2.186087721061093,
|
176 |
+
"train_runtime": 48974.7066,
|
177 |
+
"train_samples_per_second": 127.117,
|
178 |
+
"train_steps_per_second": 0.635
|
179 |
+
}
|
180 |
+
],
|
181 |
+
"logging_steps": 3110,
|
182 |
+
"max_steps": 31100,
|
183 |
+
"num_input_tokens_seen": 0,
|
184 |
+
"num_train_epochs": 100,
|
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": 9.751242948802248e+17,
|
199 |
+
"train_batch_size": 50,
|
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
|
|