sticksword
commited on
Commit
·
e97b708
1
Parent(s):
33135e8
End of training
Browse files- README.md +5 -2
- all_results.json +11 -0
- eval_results.json +7 -0
- merges.txt +0 -0
- preprocessor_config.json +29 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- train_results.json +7 -0
- trainer_state.json +196 -0
- vocab.json +0 -0
README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
datasets:
|
5 |
-
- coco_dataset_script
|
6 |
model-index:
|
7 |
- name: clip-roberta-finetuned
|
8 |
results: []
|
@@ -13,7 +14,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# clip-roberta-finetuned
|
15 |
|
16 |
-
This model
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
1 |
---
|
2 |
+
base_model: ./clip-roberta
|
3 |
tags:
|
4 |
- generated_from_trainer
|
5 |
datasets:
|
6 |
+
- ydshieh/coco_dataset_script
|
7 |
model-index:
|
8 |
- name: clip-roberta-finetuned
|
9 |
results: []
|
|
|
14 |
|
15 |
# clip-roberta-finetuned
|
16 |
|
17 |
+
This model is a fine-tuned version of [./clip-roberta](https://huggingface.co/./clip-roberta) on the ydshieh/coco_dataset_script 2017 dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 1.6986
|
20 |
|
21 |
## Model description
|
22 |
|
all_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.6986247301101685,
|
4 |
+
"eval_runtime": 790.7718,
|
5 |
+
"eval_samples_per_second": 31.632,
|
6 |
+
"eval_steps_per_second": 0.494,
|
7 |
+
"train_loss": 0.4136880006540494,
|
8 |
+
"train_runtime": 34968.5642,
|
9 |
+
"train_samples_per_second": 26.142,
|
10 |
+
"train_steps_per_second": 0.409
|
11 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 1.6986247301101685,
|
4 |
+
"eval_runtime": 790.7718,
|
5 |
+
"eval_samples_per_second": 31.632,
|
6 |
+
"eval_steps_per_second": 0.494
|
7 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": true,
|
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": "CLIPImageProcessor",
|
17 |
+
"image_std": [
|
18 |
+
0.26862954,
|
19 |
+
0.26130258,
|
20 |
+
0.27577711
|
21 |
+
],
|
22 |
+
"processor_class": "VisionTextDualEncoderProcessor",
|
23 |
+
"resample": 3,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"shortest_edge": 224
|
27 |
+
},
|
28 |
+
"use_square_size": false
|
29 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 512,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"processor_class": "VisionTextDualEncoderProcessor",
|
54 |
+
"sep_token": "</s>",
|
55 |
+
"tokenizer_class": "RobertaTokenizer",
|
56 |
+
"trim_offsets": true,
|
57 |
+
"unk_token": "<unk>"
|
58 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 0.4136880006540494,
|
4 |
+
"train_runtime": 34968.5642,
|
5 |
+
"train_samples_per_second": 26.142,
|
6 |
+
"train_steps_per_second": 0.409
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 14286,
|
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.1,
|
13 |
+
"learning_rate": 4.8250034999300015e-05,
|
14 |
+
"loss": 1.4008,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.21,
|
19 |
+
"learning_rate": 4.6500069998600034e-05,
|
20 |
+
"loss": 0.9035,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.31,
|
25 |
+
"learning_rate": 4.475010499790005e-05,
|
26 |
+
"loss": 0.7891,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.42,
|
31 |
+
"learning_rate": 4.300013999720006e-05,
|
32 |
+
"loss": 0.7111,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.52,
|
37 |
+
"learning_rate": 4.125017499650007e-05,
|
38 |
+
"loss": 0.6457,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.63,
|
43 |
+
"learning_rate": 3.9500209995800084e-05,
|
44 |
+
"loss": 0.6018,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.73,
|
49 |
+
"learning_rate": 3.77502449951001e-05,
|
50 |
+
"loss": 0.5633,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.84,
|
55 |
+
"learning_rate": 3.6000279994400116e-05,
|
56 |
+
"loss": 0.5295,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.94,
|
61 |
+
"learning_rate": 3.425031499370013e-05,
|
62 |
+
"loss": 0.4894,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 1.05,
|
67 |
+
"learning_rate": 3.250034999300014e-05,
|
68 |
+
"loss": 0.4172,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 1.15,
|
73 |
+
"learning_rate": 3.075038499230016e-05,
|
74 |
+
"loss": 0.3773,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 1.26,
|
79 |
+
"learning_rate": 2.900041999160017e-05,
|
80 |
+
"loss": 0.3746,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 1.36,
|
85 |
+
"learning_rate": 2.7250454990900182e-05,
|
86 |
+
"loss": 0.3461,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 1.47,
|
91 |
+
"learning_rate": 2.5500489990200198e-05,
|
92 |
+
"loss": 0.3377,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.57,
|
97 |
+
"learning_rate": 2.375052498950021e-05,
|
98 |
+
"loss": 0.3257,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 1.68,
|
103 |
+
"learning_rate": 2.2000559988800227e-05,
|
104 |
+
"loss": 0.3138,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.78,
|
109 |
+
"learning_rate": 2.025059498810024e-05,
|
110 |
+
"loss": 0.3026,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 1.89,
|
115 |
+
"learning_rate": 1.8500629987400252e-05,
|
116 |
+
"loss": 0.289,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 1.99,
|
121 |
+
"learning_rate": 1.6750664986700268e-05,
|
122 |
+
"loss": 0.2805,
|
123 |
+
"step": 9500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 2.1,
|
127 |
+
"learning_rate": 1.500069998600028e-05,
|
128 |
+
"loss": 0.2168,
|
129 |
+
"step": 10000
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 2.2,
|
133 |
+
"learning_rate": 1.3250734985300295e-05,
|
134 |
+
"loss": 0.2078,
|
135 |
+
"step": 10500
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 2.31,
|
139 |
+
"learning_rate": 1.1500769984600309e-05,
|
140 |
+
"loss": 0.207,
|
141 |
+
"step": 11000
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 2.41,
|
145 |
+
"learning_rate": 9.750804983900321e-06,
|
146 |
+
"loss": 0.1935,
|
147 |
+
"step": 11500
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 2.52,
|
151 |
+
"learning_rate": 8.000839983200337e-06,
|
152 |
+
"loss": 0.1942,
|
153 |
+
"step": 12000
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 2.62,
|
157 |
+
"learning_rate": 6.25087498250035e-06,
|
158 |
+
"loss": 0.1903,
|
159 |
+
"step": 12500
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 2.73,
|
163 |
+
"learning_rate": 4.500909981800364e-06,
|
164 |
+
"loss": 0.1738,
|
165 |
+
"step": 13000
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 2.83,
|
169 |
+
"learning_rate": 2.7509449811003783e-06,
|
170 |
+
"loss": 0.1779,
|
171 |
+
"step": 13500
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 2.94,
|
175 |
+
"learning_rate": 1.000979980400392e-06,
|
176 |
+
"loss": 0.1685,
|
177 |
+
"step": 14000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 3.0,
|
181 |
+
"step": 14286,
|
182 |
+
"total_flos": 1.2205375337376e+17,
|
183 |
+
"train_loss": 0.4136880006540494,
|
184 |
+
"train_runtime": 34968.5642,
|
185 |
+
"train_samples_per_second": 26.142,
|
186 |
+
"train_steps_per_second": 0.409
|
187 |
+
}
|
188 |
+
],
|
189 |
+
"logging_steps": 500,
|
190 |
+
"max_steps": 14286,
|
191 |
+
"num_train_epochs": 3,
|
192 |
+
"save_steps": 500,
|
193 |
+
"total_flos": 1.2205375337376e+17,
|
194 |
+
"trial_name": null,
|
195 |
+
"trial_params": null
|
196 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|