Jenniferkmc
commited on
Commit
•
38319e0
1
Parent(s):
b26c7f1
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 +28 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- train_results.json +7 -0
- trainer_state.json +136 -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.6224
|
20 |
|
21 |
## Model description
|
22 |
|
all_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.622399926185608,
|
4 |
+
"eval_runtime": 499.7766,
|
5 |
+
"eval_samples_per_second": 50.05,
|
6 |
+
"eval_steps_per_second": 0.782,
|
7 |
+
"train_loss": 0.5455552286053394,
|
8 |
+
"train_runtime": 25986.0373,
|
9 |
+
"train_samples_per_second": 22.772,
|
10 |
+
"train_steps_per_second": 0.356
|
11 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.622399926185608,
|
4 |
+
"eval_runtime": 499.7766,
|
5 |
+
"eval_samples_per_second": 50.05,
|
6 |
+
"eval_steps_per_second": 0.782
|
7 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
preprocessor_config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"clean_up_tokenization_spaces": true,
|
5 |
+
"cls_token": "<s>",
|
6 |
+
"eos_token": "</s>",
|
7 |
+
"errors": "replace",
|
8 |
+
"mask_token": "<mask>",
|
9 |
+
"model_max_length": 512,
|
10 |
+
"pad_token": "<pad>",
|
11 |
+
"processor_class": "VisionTextDualEncoderProcessor",
|
12 |
+
"sep_token": "</s>",
|
13 |
+
"tokenizer_class": "RobertaTokenizer",
|
14 |
+
"trim_offsets": true,
|
15 |
+
"unk_token": "<unk>"
|
16 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 0.5455552286053394,
|
4 |
+
"train_runtime": 25986.0373,
|
5 |
+
"train_samples_per_second": 22.772,
|
6 |
+
"train_steps_per_second": 0.356
|
7 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 9247,
|
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.05,
|
13 |
+
"learning_rate": 4.7296420460689956e-05,
|
14 |
+
"loss": 1.3402,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.11,
|
19 |
+
"learning_rate": 4.459284092137991e-05,
|
20 |
+
"loss": 0.9119,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.16,
|
25 |
+
"learning_rate": 4.188926138206986e-05,
|
26 |
+
"loss": 0.8126,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.22,
|
31 |
+
"learning_rate": 3.9185681842759816e-05,
|
32 |
+
"loss": 0.7416,
|
33 |
+
"step": 2000
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.27,
|
37 |
+
"learning_rate": 3.648210230344977e-05,
|
38 |
+
"loss": 0.6728,
|
39 |
+
"step": 2500
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.32,
|
43 |
+
"learning_rate": 3.3778522764139723e-05,
|
44 |
+
"loss": 0.6253,
|
45 |
+
"step": 3000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.38,
|
49 |
+
"learning_rate": 3.107494322482968e-05,
|
50 |
+
"loss": 0.569,
|
51 |
+
"step": 3500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.43,
|
55 |
+
"learning_rate": 2.837136368551963e-05,
|
56 |
+
"loss": 0.5355,
|
57 |
+
"step": 4000
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.49,
|
61 |
+
"learning_rate": 2.5667784146209584e-05,
|
62 |
+
"loss": 0.4955,
|
63 |
+
"step": 4500
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.54,
|
67 |
+
"learning_rate": 2.2964204606899537e-05,
|
68 |
+
"loss": 0.4613,
|
69 |
+
"step": 5000
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.59,
|
73 |
+
"learning_rate": 2.026062506758949e-05,
|
74 |
+
"loss": 0.4306,
|
75 |
+
"step": 5500
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.65,
|
79 |
+
"learning_rate": 1.755704552827944e-05,
|
80 |
+
"loss": 0.4053,
|
81 |
+
"step": 6000
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.7,
|
85 |
+
"learning_rate": 1.4853465988969395e-05,
|
86 |
+
"loss": 0.3821,
|
87 |
+
"step": 6500
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.76,
|
91 |
+
"learning_rate": 1.214988644965935e-05,
|
92 |
+
"loss": 0.3572,
|
93 |
+
"step": 7000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.81,
|
97 |
+
"learning_rate": 9.446306910349303e-06,
|
98 |
+
"loss": 0.3274,
|
99 |
+
"step": 7500
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.87,
|
103 |
+
"learning_rate": 6.742727371039257e-06,
|
104 |
+
"loss": 0.3131,
|
105 |
+
"step": 8000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.92,
|
109 |
+
"learning_rate": 4.03914783172921e-06,
|
110 |
+
"loss": 0.2879,
|
111 |
+
"step": 8500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.97,
|
115 |
+
"learning_rate": 1.335568292419163e-06,
|
116 |
+
"loss": 0.2808,
|
117 |
+
"step": 9000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 1.0,
|
121 |
+
"step": 9247,
|
122 |
+
"total_flos": 7.900925099184e+16,
|
123 |
+
"train_loss": 0.5455552286053394,
|
124 |
+
"train_runtime": 25986.0373,
|
125 |
+
"train_samples_per_second": 22.772,
|
126 |
+
"train_steps_per_second": 0.356
|
127 |
+
}
|
128 |
+
],
|
129 |
+
"logging_steps": 500,
|
130 |
+
"max_steps": 9247,
|
131 |
+
"num_train_epochs": 1,
|
132 |
+
"save_steps": 500,
|
133 |
+
"total_flos": 7.900925099184e+16,
|
134 |
+
"trial_name": null,
|
135 |
+
"trial_params": null
|
136 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|