kevinoli commited on
Commit
550753d
1 Parent(s): 27c73d6

Training in progress, step 5000, checkpoint

Browse files
checkpoint-5000/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/clip-vit-large-patch14-336",
3
+ "architectures": [
4
+ "CLIPModel"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "dropout": 0.0,
12
+ "hidden_size": 768,
13
+ "intermediate_size": 3072,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12,
16
+ "projection_dim": 768
17
+ },
18
+ "torch_dtype": "float32",
19
+ "transformers_version": "4.45.0.dev0",
20
+ "vision_config": {
21
+ "dropout": 0.0,
22
+ "hidden_size": 1024,
23
+ "image_size": 336,
24
+ "intermediate_size": 4096,
25
+ "model_type": "clip_vision_model",
26
+ "num_attention_heads": 16,
27
+ "num_hidden_layers": 24,
28
+ "patch_size": 14,
29
+ "projection_dim": 768
30
+ }
31
+ }
checkpoint-5000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7514105346cf934995bdb4569b3825994851c484e80f1587b264053d306ab4b7
3
+ size 1711848436
checkpoint-5000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c7d870d52e1d22f74ff13107333da7eb52412882e3e9fb61e46164df394b4ae
3
+ size 3424043887
checkpoint-5000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c75113044764a8910570c724906de201579e80685919d6e45c24460ff85166e4
3
+ size 14503
checkpoint-5000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b90fb73d192d0ce914e0cac0fbed493c760a6230d048f5420ff71f2acb5646f2
3
+ size 623
checkpoint-5000/trainer_state.json ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.0614728927612305,
3
+ "best_model_checkpoint": "./output/clip-finetuned-csu-p14-336-e3l58-l/checkpoint-5000",
4
+ "epoch": 0.9211495946941783,
5
+ "eval_steps": 500,
6
+ "global_step": 5000,
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.09211495946941783,
13
+ "grad_norm": 19.808820724487305,
14
+ "learning_rate": 4.84647506755097e-08,
15
+ "loss": 0.3758,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.09211495946941783,
20
+ "eval_loss": 1.418845295906067,
21
+ "eval_runtime": 75.2377,
22
+ "eval_samples_per_second": 16.042,
23
+ "eval_steps_per_second": 2.007,
24
+ "step": 500
25
+ },
26
+ {
27
+ "epoch": 0.18422991893883567,
28
+ "grad_norm": 76.37991333007812,
29
+ "learning_rate": 4.69295013510194e-08,
30
+ "loss": 0.4108,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 0.18422991893883567,
35
+ "eval_loss": 1.3513683080673218,
36
+ "eval_runtime": 74.9686,
37
+ "eval_samples_per_second": 16.1,
38
+ "eval_steps_per_second": 2.014,
39
+ "step": 1000
40
+ },
41
+ {
42
+ "epoch": 0.2763448784082535,
43
+ "grad_norm": 0.5795987844467163,
44
+ "learning_rate": 4.539425202652911e-08,
45
+ "loss": 0.4335,
46
+ "step": 1500
47
+ },
48
+ {
49
+ "epoch": 0.2763448784082535,
50
+ "eval_loss": 1.2895005941390991,
51
+ "eval_runtime": 76.713,
52
+ "eval_samples_per_second": 15.734,
53
+ "eval_steps_per_second": 1.968,
54
+ "step": 1500
55
+ },
56
+ {
57
+ "epoch": 0.36845983787767134,
58
+ "grad_norm": 0.1463615745306015,
59
+ "learning_rate": 4.385900270203881e-08,
60
+ "loss": 0.3436,
61
+ "step": 2000
62
+ },
63
+ {
64
+ "epoch": 0.36845983787767134,
65
+ "eval_loss": 1.2414860725402832,
66
+ "eval_runtime": 76.9749,
67
+ "eval_samples_per_second": 15.68,
68
+ "eval_steps_per_second": 1.962,
69
+ "step": 2000
70
+ },
71
+ {
72
+ "epoch": 0.46057479734708917,
73
+ "grad_norm": 323.8576354980469,
74
+ "learning_rate": 4.232375337754851e-08,
75
+ "loss": 0.366,
76
+ "step": 2500
77
+ },
78
+ {
79
+ "epoch": 0.46057479734708917,
80
+ "eval_loss": 1.1949334144592285,
81
+ "eval_runtime": 77.0381,
82
+ "eval_samples_per_second": 15.668,
83
+ "eval_steps_per_second": 1.96,
84
+ "step": 2500
85
+ },
86
+ {
87
+ "epoch": 0.552689756816507,
88
+ "grad_norm": 339.28533935546875,
89
+ "learning_rate": 4.078850405305821e-08,
90
+ "loss": 0.3191,
91
+ "step": 3000
92
+ },
93
+ {
94
+ "epoch": 0.552689756816507,
95
+ "eval_loss": 1.1560280323028564,
96
+ "eval_runtime": 77.0026,
97
+ "eval_samples_per_second": 15.675,
98
+ "eval_steps_per_second": 1.961,
99
+ "step": 3000
100
+ },
101
+ {
102
+ "epoch": 0.6448047162859248,
103
+ "grad_norm": 60.27859878540039,
104
+ "learning_rate": 3.925325472856792e-08,
105
+ "loss": 0.2779,
106
+ "step": 3500
107
+ },
108
+ {
109
+ "epoch": 0.6448047162859248,
110
+ "eval_loss": 1.1233855485916138,
111
+ "eval_runtime": 76.9006,
112
+ "eval_samples_per_second": 15.696,
113
+ "eval_steps_per_second": 1.964,
114
+ "step": 3500
115
+ },
116
+ {
117
+ "epoch": 0.7369196757553427,
118
+ "grad_norm": 18.268455505371094,
119
+ "learning_rate": 3.7718005404077616e-08,
120
+ "loss": 0.2942,
121
+ "step": 4000
122
+ },
123
+ {
124
+ "epoch": 0.7369196757553427,
125
+ "eval_loss": 1.0993207693099976,
126
+ "eval_runtime": 77.2834,
127
+ "eval_samples_per_second": 15.618,
128
+ "eval_steps_per_second": 1.954,
129
+ "step": 4000
130
+ },
131
+ {
132
+ "epoch": 0.8290346352247605,
133
+ "grad_norm": 505.22723388671875,
134
+ "learning_rate": 3.6182756079587324e-08,
135
+ "loss": 0.2615,
136
+ "step": 4500
137
+ },
138
+ {
139
+ "epoch": 0.8290346352247605,
140
+ "eval_loss": 1.080470085144043,
141
+ "eval_runtime": 77.1214,
142
+ "eval_samples_per_second": 15.651,
143
+ "eval_steps_per_second": 1.958,
144
+ "step": 4500
145
+ },
146
+ {
147
+ "epoch": 0.9211495946941783,
148
+ "grad_norm": 1.2971173524856567,
149
+ "learning_rate": 3.4647506755097025e-08,
150
+ "loss": 0.2715,
151
+ "step": 5000
152
+ },
153
+ {
154
+ "epoch": 0.9211495946941783,
155
+ "eval_loss": 1.0614728927612305,
156
+ "eval_runtime": 77.2982,
157
+ "eval_samples_per_second": 15.615,
158
+ "eval_steps_per_second": 1.953,
159
+ "step": 5000
160
+ }
161
+ ],
162
+ "logging_steps": 500,
163
+ "max_steps": 16284,
164
+ "num_input_tokens_seen": 0,
165
+ "num_train_epochs": 3,
166
+ "save_steps": 500,
167
+ "stateful_callbacks": {
168
+ "TrainerControl": {
169
+ "args": {
170
+ "should_epoch_stop": false,
171
+ "should_evaluate": false,
172
+ "should_log": false,
173
+ "should_save": true,
174
+ "should_training_stop": false
175
+ },
176
+ "attributes": {}
177
+ }
178
+ },
179
+ "total_flos": 1799511273002520.0,
180
+ "train_batch_size": 2,
181
+ "trial_name": null,
182
+ "trial_params": null
183
+ }
checkpoint-5000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbcece3d46fd39b0ba80eb3e495fdf46c9f891af5b4bddce9de77ad5a467b625
3
+ size 4847