Upload folder using huggingface_hub
Browse files- README.md +31 -0
- checkpoint-50/config.json +64 -0
- checkpoint-50/model.safetensors +3 -0
- checkpoint-50/optimizer.pt +3 -0
- checkpoint-50/rng_state.pth +3 -0
- checkpoint-50/scheduler.pt +3 -0
- checkpoint-50/trainer_state.json +457 -0
- checkpoint-50/training_args.bin +3 -0
- config.json +64 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Sep03_12-06-34_r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk/events.out.tfevents.1725365196.r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk.140.0 +2 -2
- runs/Sep03_12-06-34_r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk/events.out.tfevents.1725365646.r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk.140.1 +3 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: Organika/sdxl-detector
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
---
|
15 |
+
|
16 |
+
# Model Trained Using AutoTrain
|
17 |
+
|
18 |
+
- Problem type: Image Classification
|
19 |
+
|
20 |
+
## Validation Metrics
|
21 |
+
loss: 0.005880220327526331
|
22 |
+
|
23 |
+
f1: 1.0
|
24 |
+
|
25 |
+
precision: 1.0
|
26 |
+
|
27 |
+
recall: 1.0
|
28 |
+
|
29 |
+
auc: 1.0
|
30 |
+
|
31 |
+
accuracy: 1.0
|
checkpoint-50/config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Organika/sdxl-detector",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"SwinForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"depths": [
|
9 |
+
2,
|
10 |
+
2,
|
11 |
+
18,
|
12 |
+
2
|
13 |
+
],
|
14 |
+
"drop_path_rate": 0.1,
|
15 |
+
"embed_dim": 128,
|
16 |
+
"encoder_stride": 32,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.0,
|
19 |
+
"hidden_size": 1024,
|
20 |
+
"id2label": {
|
21 |
+
"0": "manipulated-Images",
|
22 |
+
"1": "non-manipulated-Images"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"label2id": {
|
27 |
+
"manipulated-Images": 0,
|
28 |
+
"non-manipulated-Images": 1
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-05,
|
31 |
+
"max_length": 128,
|
32 |
+
"mlp_ratio": 4.0,
|
33 |
+
"model_type": "swin",
|
34 |
+
"num_channels": 3,
|
35 |
+
"num_heads": [
|
36 |
+
4,
|
37 |
+
8,
|
38 |
+
16,
|
39 |
+
32
|
40 |
+
],
|
41 |
+
"num_layers": 4,
|
42 |
+
"out_features": [
|
43 |
+
"stage4"
|
44 |
+
],
|
45 |
+
"out_indices": [
|
46 |
+
4
|
47 |
+
],
|
48 |
+
"padding": "max_length",
|
49 |
+
"patch_size": 4,
|
50 |
+
"path_norm": true,
|
51 |
+
"problem_type": "single_label_classification",
|
52 |
+
"qkv_bias": true,
|
53 |
+
"stage_names": [
|
54 |
+
"stem",
|
55 |
+
"stage1",
|
56 |
+
"stage2",
|
57 |
+
"stage3",
|
58 |
+
"stage4"
|
59 |
+
],
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.44.1",
|
62 |
+
"use_absolute_embeddings": false,
|
63 |
+
"window_size": 7
|
64 |
+
}
|
checkpoint-50/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80e14c0d2cb08612c4246946df7867b9dd05e250b748d32157af6d2d3dc62307
|
3 |
+
size 347498816
|
checkpoint-50/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:819486478fc84b4d61b831dc9739816a37949894e55c500ec6d2f393fcd8f856
|
3 |
+
size 694305741
|
checkpoint-50/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43d580c44150a1d3844e2f67094bbf131fa7d14ba78cbadf253f0dab4a38c7b4
|
3 |
+
size 13990
|
checkpoint-50/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1df0528620c07325b8faa7567e59b0c1e86a1f1ee6af1245a69c6c0463fe4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
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.1,
|
13 |
+
"grad_norm": 192.0443115234375,
|
14 |
+
"learning_rate": 2e-05,
|
15 |
+
"loss": 1.6486,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.2,
|
20 |
+
"grad_norm": 91.13789367675781,
|
21 |
+
"learning_rate": 4e-05,
|
22 |
+
"loss": 0.3726,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.3,
|
27 |
+
"grad_norm": 86.33133697509766,
|
28 |
+
"learning_rate": 6e-05,
|
29 |
+
"loss": 1.529,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.4,
|
34 |
+
"grad_norm": 70.01477813720703,
|
35 |
+
"learning_rate": 8e-05,
|
36 |
+
"loss": 1.4176,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.5,
|
41 |
+
"grad_norm": 0.017295703291893005,
|
42 |
+
"learning_rate": 0.0001,
|
43 |
+
"loss": 0.0,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.6,
|
48 |
+
"grad_norm": 0.1406904011964798,
|
49 |
+
"learning_rate": 9.777777777777778e-05,
|
50 |
+
"loss": 0.0005,
|
51 |
+
"step": 6
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.7,
|
55 |
+
"grad_norm": 0.0068831657990813255,
|
56 |
+
"learning_rate": 9.555555555555557e-05,
|
57 |
+
"loss": 0.0,
|
58 |
+
"step": 7
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.8,
|
62 |
+
"grad_norm": 0.1597442626953125,
|
63 |
+
"learning_rate": 9.333333333333334e-05,
|
64 |
+
"loss": 0.0006,
|
65 |
+
"step": 8
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.9,
|
69 |
+
"grad_norm": 76.26848602294922,
|
70 |
+
"learning_rate": 9.111111111111112e-05,
|
71 |
+
"loss": 0.9406,
|
72 |
+
"step": 9
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 1.0,
|
76 |
+
"grad_norm": 9.322993719251826e-05,
|
77 |
+
"learning_rate": 8.888888888888889e-05,
|
78 |
+
"loss": 0.0,
|
79 |
+
"step": 10
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 1.0,
|
83 |
+
"eval_accuracy": 0.9473684210526315,
|
84 |
+
"eval_auc": 0.9444444444444444,
|
85 |
+
"eval_f1": 0.972972972972973,
|
86 |
+
"eval_loss": 0.5396547317504883,
|
87 |
+
"eval_precision": 0.9473684210526315,
|
88 |
+
"eval_recall": 1.0,
|
89 |
+
"eval_runtime": 6.4147,
|
90 |
+
"eval_samples_per_second": 2.962,
|
91 |
+
"eval_steps_per_second": 0.312,
|
92 |
+
"step": 10
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.1,
|
96 |
+
"grad_norm": 0.002093537012115121,
|
97 |
+
"learning_rate": 8.666666666666667e-05,
|
98 |
+
"loss": 0.0,
|
99 |
+
"step": 11
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 1.2,
|
103 |
+
"grad_norm": 0.6939017176628113,
|
104 |
+
"learning_rate": 8.444444444444444e-05,
|
105 |
+
"loss": 0.0034,
|
106 |
+
"step": 12
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 1.3,
|
110 |
+
"grad_norm": 27.010156631469727,
|
111 |
+
"learning_rate": 8.222222222222222e-05,
|
112 |
+
"loss": 0.3681,
|
113 |
+
"step": 13
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 1.4,
|
117 |
+
"grad_norm": 0.08944934606552124,
|
118 |
+
"learning_rate": 8e-05,
|
119 |
+
"loss": 0.0004,
|
120 |
+
"step": 14
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 1.5,
|
124 |
+
"grad_norm": 0.00046487816143780947,
|
125 |
+
"learning_rate": 7.777777777777778e-05,
|
126 |
+
"loss": 0.0,
|
127 |
+
"step": 15
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"epoch": 1.6,
|
131 |
+
"grad_norm": 26.83158302307129,
|
132 |
+
"learning_rate": 7.555555555555556e-05,
|
133 |
+
"loss": 0.3384,
|
134 |
+
"step": 16
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 1.7,
|
138 |
+
"grad_norm": 22.95646858215332,
|
139 |
+
"learning_rate": 7.333333333333333e-05,
|
140 |
+
"loss": 0.4147,
|
141 |
+
"step": 17
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 1.8,
|
145 |
+
"grad_norm": 12.867383003234863,
|
146 |
+
"learning_rate": 7.111111111111112e-05,
|
147 |
+
"loss": 0.101,
|
148 |
+
"step": 18
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"epoch": 1.9,
|
152 |
+
"grad_norm": 0.18528755009174347,
|
153 |
+
"learning_rate": 6.88888888888889e-05,
|
154 |
+
"loss": 0.0011,
|
155 |
+
"step": 19
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 2.0,
|
159 |
+
"grad_norm": 0.5274847745895386,
|
160 |
+
"learning_rate": 6.666666666666667e-05,
|
161 |
+
"loss": 0.0101,
|
162 |
+
"step": 20
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 2.0,
|
166 |
+
"eval_accuracy": 0.9473684210526315,
|
167 |
+
"eval_auc": 1.0,
|
168 |
+
"eval_f1": 0.9714285714285714,
|
169 |
+
"eval_loss": 0.10451264679431915,
|
170 |
+
"eval_precision": 1.0,
|
171 |
+
"eval_recall": 0.9444444444444444,
|
172 |
+
"eval_runtime": 7.0278,
|
173 |
+
"eval_samples_per_second": 2.704,
|
174 |
+
"eval_steps_per_second": 0.285,
|
175 |
+
"step": 20
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 2.1,
|
179 |
+
"grad_norm": 46.64225769042969,
|
180 |
+
"learning_rate": 6.444444444444446e-05,
|
181 |
+
"loss": 1.3124,
|
182 |
+
"step": 21
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 2.2,
|
186 |
+
"grad_norm": 39.809120178222656,
|
187 |
+
"learning_rate": 6.222222222222222e-05,
|
188 |
+
"loss": 1.2012,
|
189 |
+
"step": 22
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 2.3,
|
193 |
+
"grad_norm": 7.132116794586182,
|
194 |
+
"learning_rate": 6e-05,
|
195 |
+
"loss": 0.0641,
|
196 |
+
"step": 23
|
197 |
+
},
|
198 |
+
{
|
199 |
+
"epoch": 2.4,
|
200 |
+
"grad_norm": 8.217597961425781,
|
201 |
+
"learning_rate": 5.7777777777777776e-05,
|
202 |
+
"loss": 0.1189,
|
203 |
+
"step": 24
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"epoch": 2.5,
|
207 |
+
"grad_norm": 3.328246593475342,
|
208 |
+
"learning_rate": 5.555555555555556e-05,
|
209 |
+
"loss": 0.0219,
|
210 |
+
"step": 25
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"epoch": 2.6,
|
214 |
+
"grad_norm": 0.018878834322094917,
|
215 |
+
"learning_rate": 5.333333333333333e-05,
|
216 |
+
"loss": 0.0002,
|
217 |
+
"step": 26
|
218 |
+
},
|
219 |
+
{
|
220 |
+
"epoch": 2.7,
|
221 |
+
"grad_norm": 0.05963844433426857,
|
222 |
+
"learning_rate": 5.111111111111111e-05,
|
223 |
+
"loss": 0.0003,
|
224 |
+
"step": 27
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 2.8,
|
228 |
+
"grad_norm": 0.0006083645857870579,
|
229 |
+
"learning_rate": 4.888888888888889e-05,
|
230 |
+
"loss": 0.0,
|
231 |
+
"step": 28
|
232 |
+
},
|
233 |
+
{
|
234 |
+
"epoch": 2.9,
|
235 |
+
"grad_norm": 1.1290885210037231,
|
236 |
+
"learning_rate": 4.666666666666667e-05,
|
237 |
+
"loss": 0.0058,
|
238 |
+
"step": 29
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"epoch": 3.0,
|
242 |
+
"grad_norm": 0.0002643383922986686,
|
243 |
+
"learning_rate": 4.4444444444444447e-05,
|
244 |
+
"loss": 0.0,
|
245 |
+
"step": 30
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"epoch": 3.0,
|
249 |
+
"eval_accuracy": 0.9473684210526315,
|
250 |
+
"eval_auc": 1.0,
|
251 |
+
"eval_f1": 0.972972972972973,
|
252 |
+
"eval_loss": 0.34398871660232544,
|
253 |
+
"eval_precision": 0.9473684210526315,
|
254 |
+
"eval_recall": 1.0,
|
255 |
+
"eval_runtime": 7.6262,
|
256 |
+
"eval_samples_per_second": 2.491,
|
257 |
+
"eval_steps_per_second": 0.262,
|
258 |
+
"step": 30
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 3.1,
|
262 |
+
"grad_norm": 0.000997014343738556,
|
263 |
+
"learning_rate": 4.222222222222222e-05,
|
264 |
+
"loss": 0.0,
|
265 |
+
"step": 31
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 3.2,
|
269 |
+
"grad_norm": 0.0017871842719614506,
|
270 |
+
"learning_rate": 4e-05,
|
271 |
+
"loss": 0.0,
|
272 |
+
"step": 32
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 3.3,
|
276 |
+
"grad_norm": 125.35645294189453,
|
277 |
+
"learning_rate": 3.777777777777778e-05,
|
278 |
+
"loss": 0.4944,
|
279 |
+
"step": 33
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 3.4,
|
283 |
+
"grad_norm": 25.963590621948242,
|
284 |
+
"learning_rate": 3.555555555555556e-05,
|
285 |
+
"loss": 1.3397,
|
286 |
+
"step": 34
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"epoch": 3.5,
|
290 |
+
"grad_norm": 48.228271484375,
|
291 |
+
"learning_rate": 3.3333333333333335e-05,
|
292 |
+
"loss": 0.6604,
|
293 |
+
"step": 35
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"epoch": 3.6,
|
297 |
+
"grad_norm": 8.783335943007842e-07,
|
298 |
+
"learning_rate": 3.111111111111111e-05,
|
299 |
+
"loss": 0.0,
|
300 |
+
"step": 36
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 3.7,
|
304 |
+
"grad_norm": 44.1061897277832,
|
305 |
+
"learning_rate": 2.8888888888888888e-05,
|
306 |
+
"loss": 1.9752,
|
307 |
+
"step": 37
|
308 |
+
},
|
309 |
+
{
|
310 |
+
"epoch": 3.8,
|
311 |
+
"grad_norm": 28.28629493713379,
|
312 |
+
"learning_rate": 2.6666666666666667e-05,
|
313 |
+
"loss": 0.6833,
|
314 |
+
"step": 38
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"epoch": 3.9,
|
318 |
+
"grad_norm": 1.6506115571246482e-05,
|
319 |
+
"learning_rate": 2.4444444444444445e-05,
|
320 |
+
"loss": 0.0,
|
321 |
+
"step": 39
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 4.0,
|
325 |
+
"grad_norm": 0.0209506805986166,
|
326 |
+
"learning_rate": 2.2222222222222223e-05,
|
327 |
+
"loss": 0.0001,
|
328 |
+
"step": 40
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"epoch": 4.0,
|
332 |
+
"eval_accuracy": 0.9473684210526315,
|
333 |
+
"eval_auc": 1.0,
|
334 |
+
"eval_f1": 0.972972972972973,
|
335 |
+
"eval_loss": 0.07567384093999863,
|
336 |
+
"eval_precision": 0.9473684210526315,
|
337 |
+
"eval_recall": 1.0,
|
338 |
+
"eval_runtime": 6.5662,
|
339 |
+
"eval_samples_per_second": 2.894,
|
340 |
+
"eval_steps_per_second": 0.305,
|
341 |
+
"step": 40
|
342 |
+
},
|
343 |
+
{
|
344 |
+
"epoch": 4.1,
|
345 |
+
"grad_norm": 22.53162384033203,
|
346 |
+
"learning_rate": 2e-05,
|
347 |
+
"loss": 0.179,
|
348 |
+
"step": 41
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"epoch": 4.2,
|
352 |
+
"grad_norm": 0.47764596343040466,
|
353 |
+
"learning_rate": 1.777777777777778e-05,
|
354 |
+
"loss": 0.0018,
|
355 |
+
"step": 42
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"epoch": 4.3,
|
359 |
+
"grad_norm": 5.29976277903188e-05,
|
360 |
+
"learning_rate": 1.5555555555555555e-05,
|
361 |
+
"loss": 0.0,
|
362 |
+
"step": 43
|
363 |
+
},
|
364 |
+
{
|
365 |
+
"epoch": 4.4,
|
366 |
+
"grad_norm": 5.991899490356445,
|
367 |
+
"learning_rate": 1.3333333333333333e-05,
|
368 |
+
"loss": 0.0763,
|
369 |
+
"step": 44
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"epoch": 4.5,
|
373 |
+
"grad_norm": 8.715898002265021e-05,
|
374 |
+
"learning_rate": 1.1111111111111112e-05,
|
375 |
+
"loss": 0.0,
|
376 |
+
"step": 45
|
377 |
+
},
|
378 |
+
{
|
379 |
+
"epoch": 4.6,
|
380 |
+
"grad_norm": 5.479080573422834e-05,
|
381 |
+
"learning_rate": 8.88888888888889e-06,
|
382 |
+
"loss": 0.0,
|
383 |
+
"step": 46
|
384 |
+
},
|
385 |
+
{
|
386 |
+
"epoch": 4.7,
|
387 |
+
"grad_norm": 13.429327964782715,
|
388 |
+
"learning_rate": 6.666666666666667e-06,
|
389 |
+
"loss": 0.2454,
|
390 |
+
"step": 47
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"epoch": 4.8,
|
394 |
+
"grad_norm": 1.9549882411956787,
|
395 |
+
"learning_rate": 4.444444444444445e-06,
|
396 |
+
"loss": 0.0267,
|
397 |
+
"step": 48
|
398 |
+
},
|
399 |
+
{
|
400 |
+
"epoch": 4.9,
|
401 |
+
"grad_norm": 0.031847428530454636,
|
402 |
+
"learning_rate": 2.2222222222222225e-06,
|
403 |
+
"loss": 0.0001,
|
404 |
+
"step": 49
|
405 |
+
},
|
406 |
+
{
|
407 |
+
"epoch": 5.0,
|
408 |
+
"grad_norm": 1.6024940805436927e-06,
|
409 |
+
"learning_rate": 0.0,
|
410 |
+
"loss": 0.0,
|
411 |
+
"step": 50
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"epoch": 5.0,
|
415 |
+
"eval_accuracy": 1.0,
|
416 |
+
"eval_auc": 1.0,
|
417 |
+
"eval_f1": 1.0,
|
418 |
+
"eval_loss": 0.005880220327526331,
|
419 |
+
"eval_precision": 1.0,
|
420 |
+
"eval_recall": 1.0,
|
421 |
+
"eval_runtime": 7.0124,
|
422 |
+
"eval_samples_per_second": 2.709,
|
423 |
+
"eval_steps_per_second": 0.285,
|
424 |
+
"step": 50
|
425 |
+
}
|
426 |
+
],
|
427 |
+
"logging_steps": 1,
|
428 |
+
"max_steps": 50,
|
429 |
+
"num_input_tokens_seen": 0,
|
430 |
+
"num_train_epochs": 5,
|
431 |
+
"save_steps": 500,
|
432 |
+
"stateful_callbacks": {
|
433 |
+
"EarlyStoppingCallback": {
|
434 |
+
"args": {
|
435 |
+
"early_stopping_patience": 5,
|
436 |
+
"early_stopping_threshold": 0.01
|
437 |
+
},
|
438 |
+
"attributes": {
|
439 |
+
"early_stopping_patience_counter": 0
|
440 |
+
}
|
441 |
+
},
|
442 |
+
"TrainerControl": {
|
443 |
+
"args": {
|
444 |
+
"should_epoch_stop": false,
|
445 |
+
"should_evaluate": false,
|
446 |
+
"should_log": false,
|
447 |
+
"should_save": true,
|
448 |
+
"should_training_stop": true
|
449 |
+
},
|
450 |
+
"attributes": {}
|
451 |
+
}
|
452 |
+
},
|
453 |
+
"total_flos": 2.898785558237184e+16,
|
454 |
+
"train_batch_size": 8,
|
455 |
+
"trial_name": null,
|
456 |
+
"trial_params": null
|
457 |
+
}
|
checkpoint-50/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15cae92774a96b5a5d4abc286e121b2a823072bf72b270da361bf833f24a22df
|
3 |
+
size 5240
|
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Organika/sdxl-detector",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"SwinForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"depths": [
|
9 |
+
2,
|
10 |
+
2,
|
11 |
+
18,
|
12 |
+
2
|
13 |
+
],
|
14 |
+
"drop_path_rate": 0.1,
|
15 |
+
"embed_dim": 128,
|
16 |
+
"encoder_stride": 32,
|
17 |
+
"hidden_act": "gelu",
|
18 |
+
"hidden_dropout_prob": 0.0,
|
19 |
+
"hidden_size": 1024,
|
20 |
+
"id2label": {
|
21 |
+
"0": "manipulated-Images",
|
22 |
+
"1": "non-manipulated-Images"
|
23 |
+
},
|
24 |
+
"image_size": 224,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"label2id": {
|
27 |
+
"manipulated-Images": 0,
|
28 |
+
"non-manipulated-Images": 1
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-05,
|
31 |
+
"max_length": 128,
|
32 |
+
"mlp_ratio": 4.0,
|
33 |
+
"model_type": "swin",
|
34 |
+
"num_channels": 3,
|
35 |
+
"num_heads": [
|
36 |
+
4,
|
37 |
+
8,
|
38 |
+
16,
|
39 |
+
32
|
40 |
+
],
|
41 |
+
"num_layers": 4,
|
42 |
+
"out_features": [
|
43 |
+
"stage4"
|
44 |
+
],
|
45 |
+
"out_indices": [
|
46 |
+
4
|
47 |
+
],
|
48 |
+
"padding": "max_length",
|
49 |
+
"patch_size": 4,
|
50 |
+
"path_norm": true,
|
51 |
+
"problem_type": "single_label_classification",
|
52 |
+
"qkv_bias": true,
|
53 |
+
"stage_names": [
|
54 |
+
"stem",
|
55 |
+
"stage1",
|
56 |
+
"stage2",
|
57 |
+
"stage3",
|
58 |
+
"stage4"
|
59 |
+
],
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.44.1",
|
62 |
+
"use_absolute_embeddings": false,
|
63 |
+
"window_size": 7
|
64 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:80e14c0d2cb08612c4246946df7867b9dd05e250b748d32157af6d2d3dc62307
|
3 |
+
size 347498816
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Sep03_12-06-34_r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk/events.out.tfevents.1725365196.r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk.140.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76f01e44b15759fb2f2368f7a597835242840333ff078456a8cd5cb17856367d
|
3 |
+
size 18735
|
runs/Sep03_12-06-34_r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk/events.out.tfevents.1725365646.r-franibm-image-manipulation-detection-apv5ujtt-c5d7c-7u9zk.140.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:405e5d97b060f802a87fa0ab8ec480002ad1c153c7be9e2426f688946998467c
|
3 |
+
size 597
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:15cae92774a96b5a5d4abc286e121b2a823072bf72b270da361bf833f24a22df
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-a1ahc-punm7/autotrain-data",
|
3 |
+
"model": "Organika/sdxl-detector",
|
4 |
+
"username": "franibm",
|
5 |
+
"lr": 0.0001,
|
6 |
+
"epochs": 5,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-a1ahc-punm7",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "autotrain_image",
|
25 |
+
"target_column": "autotrain_label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|