vikas117 commited on
Commit
a38c0e4
·
verified ·
1 Parent(s): 3c8c81a

Model save

Browse files
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.9752066115702479
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
33
 
34
  This model is a fine-tuned version of [Organika/sdxl-detector](https://huggingface.co/Organika/sdxl-detector) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.2485
37
- - Accuracy: 0.9752
38
 
39
  ## Model description
40
 
@@ -66,7 +66,7 @@ The following hyperparameters were used during training:
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
  |:-------------:|:------:|:----:|:---------------:|:--------:|
69
- | 0.0141 | 2.2727 | 50 | 0.2485 | 0.9752 |
70
 
71
 
72
  ### Framework versions
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.9512195121951219
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
33
 
34
  This model is a fine-tuned version of [Organika/sdxl-detector](https://huggingface.co/Organika/sdxl-detector) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.0688
37
+ - Accuracy: 0.9512
38
 
39
  ## Model description
40
 
 
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
  |:-------------:|:------:|:----:|:---------------:|:--------:|
69
+ | 0.0004 | 2.0833 | 50 | 0.0688 | 0.9512 |
70
 
71
 
72
  ### Framework versions
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 3.0,
3
- "eval_accuracy": 1.0,
4
- "eval_loss": 0.000129295774968341,
5
- "eval_runtime": 3.1734,
6
- "eval_samples_per_second": 38.129,
7
- "eval_steps_per_second": 5.042,
8
  "total_flos": 1.5982493348118528e+17,
9
- "train_loss": 0.07911565561186183,
10
- "train_runtime": 65.9385,
11
- "train_samples_per_second": 30.938,
12
- "train_steps_per_second": 1.001
13
  }
 
1
  {
2
  "epoch": 3.0,
3
+ "eval_accuracy": 0.9752066115702479,
4
+ "eval_loss": 0.31071361899375916,
5
+ "eval_runtime": 1.9227,
6
+ "eval_samples_per_second": 62.934,
7
+ "eval_steps_per_second": 8.322,
8
  "total_flos": 1.5982493348118528e+17,
9
+ "train_loss": 0.12485574473711578,
10
+ "train_runtime": 55.5816,
11
+ "train_samples_per_second": 36.703,
12
+ "train_steps_per_second": 1.187
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 3.0,
3
- "eval_accuracy": 1.0,
4
- "eval_loss": 0.000129295774968341,
5
- "eval_runtime": 3.1734,
6
- "eval_samples_per_second": 38.129,
7
- "eval_steps_per_second": 5.042
8
  }
 
1
  {
2
  "epoch": 3.0,
3
+ "eval_accuracy": 0.9752066115702479,
4
+ "eval_loss": 0.31071361899375916,
5
+ "eval_runtime": 1.9227,
6
+ "eval_samples_per_second": 62.934,
7
+ "eval_steps_per_second": 8.322
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:229caa9409e25ff1f3b2271f08fbe14e69b015b83d5549a2028075de87b318d4
3
  size 347498816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c0d5afa003852c9e93880ca1baf5ebee5fc86a57f4ce8e517fca7d5664ea23b
3
  size 347498816
runs/Dec31_08-40-59_3dcd8bc8b582/events.out.tfevents.1735634547.3dcd8bc8b582.14185.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88d41c0eaea6276d4fd9a0b7a11f24a0e8563919409df48bf964556944e86a30
3
+ size 405
runs/Dec31_08-48-02_3dcd8bc8b582/events.out.tfevents.1735634884.3dcd8bc8b582.17951.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbbb6fe0c4e771767f6d4210f331362f9dbdb104073a6ab96a2a498e24a2b95a
3
+ size 7645
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 3.0,
3
  "total_flos": 1.5982493348118528e+17,
4
- "train_loss": 0.07911565561186183,
5
- "train_runtime": 65.9385,
6
- "train_samples_per_second": 30.938,
7
- "train_steps_per_second": 1.001
8
  }
 
1
  {
2
  "epoch": 3.0,
3
  "total_flos": 1.5982493348118528e+17,
4
+ "train_loss": 0.12485574473711578,
5
+ "train_runtime": 55.5816,
6
+ "train_samples_per_second": 36.703,
7
+ "train_steps_per_second": 1.187
8
  }
trainer_state.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "best_metric": 8.1218960986007e-05,
3
  "best_model_checkpoint": "finetuned-ai-real-swin/checkpoint-50",
4
  "epoch": 3.0,
5
  "eval_steps": 50,
@@ -10,63 +10,63 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.45454545454545453,
13
- "grad_norm": 15.097875595092773,
14
- "learning_rate": 0.00017272727272727275,
15
- "loss": 0.2428,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.9090909090909091,
20
- "grad_norm": 2.583950996398926,
21
- "learning_rate": 0.00014242424242424243,
22
- "loss": 0.032,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 1.3636363636363638,
27
- "grad_norm": 0.0005581710720434785,
28
  "learning_rate": 0.0001181818181818182,
29
- "loss": 0.0741,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 1.8181818181818183,
34
- "grad_norm": 0.25307825207710266,
35
  "learning_rate": 8.787878787878789e-05,
36
- "loss": 0.1721,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 2.2727272727272725,
41
- "grad_norm": 0.11153484135866165,
42
  "learning_rate": 5.757575757575758e-05,
43
- "loss": 0.0009,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 2.2727272727272725,
48
- "eval_accuracy": 1.0,
49
- "eval_loss": 8.1218960986007e-05,
50
- "eval_runtime": 2.2287,
51
- "eval_samples_per_second": 54.292,
52
- "eval_steps_per_second": 7.179,
53
  "step": 50
54
  },
55
  {
56
  "epoch": 2.7272727272727275,
57
- "grad_norm": 0.003770518582314253,
58
  "learning_rate": 2.7272727272727273e-05,
59
- "loss": 0.0002,
60
  "step": 60
61
  },
62
  {
63
  "epoch": 3.0,
64
  "step": 66,
65
  "total_flos": 1.5982493348118528e+17,
66
- "train_loss": 0.07911565561186183,
67
- "train_runtime": 65.9385,
68
- "train_samples_per_second": 30.938,
69
- "train_steps_per_second": 1.001
70
  }
71
  ],
72
  "logging_steps": 10,
 
1
  {
2
+ "best_metric": 0.2485116571187973,
3
  "best_model_checkpoint": "finetuned-ai-real-swin/checkpoint-50",
4
  "epoch": 3.0,
5
  "eval_steps": 50,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.45454545454545453,
13
+ "grad_norm": 0.09391414374113083,
14
+ "learning_rate": 0.0001787878787878788,
15
+ "loss": 0.7516,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.9090909090909091,
20
+ "grad_norm": 0.2578066289424896,
21
+ "learning_rate": 0.00014848484848484849,
22
+ "loss": 0.0201,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 1.3636363636363638,
27
+ "grad_norm": 0.00015799676475580782,
28
  "learning_rate": 0.0001181818181818182,
29
+ "loss": 0.0052,
30
  "step": 30
31
  },
32
  {
33
  "epoch": 1.8181818181818183,
34
+ "grad_norm": 1.3355179362406489e-05,
35
  "learning_rate": 8.787878787878789e-05,
36
+ "loss": 0.0149,
37
  "step": 40
38
  },
39
  {
40
  "epoch": 2.2727272727272725,
41
+ "grad_norm": 1.1458600759506226,
42
  "learning_rate": 5.757575757575758e-05,
43
+ "loss": 0.0141,
44
  "step": 50
45
  },
46
  {
47
  "epoch": 2.2727272727272725,
48
+ "eval_accuracy": 0.9752066115702479,
49
+ "eval_loss": 0.2485116571187973,
50
+ "eval_runtime": 1.6634,
51
+ "eval_samples_per_second": 72.74,
52
+ "eval_steps_per_second": 9.619,
53
  "step": 50
54
  },
55
  {
56
  "epoch": 2.7272727272727275,
57
+ "grad_norm": 0.00010308358469046652,
58
  "learning_rate": 2.7272727272727273e-05,
59
+ "loss": 0.0159,
60
  "step": 60
61
  },
62
  {
63
  "epoch": 3.0,
64
  "step": 66,
65
  "total_flos": 1.5982493348118528e+17,
66
+ "train_loss": 0.12485574473711578,
67
+ "train_runtime": 55.5816,
68
+ "train_samples_per_second": 36.703,
69
+ "train_steps_per_second": 1.187
70
  }
71
  ],
72
  "logging_steps": 10,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aac1e3d03f13e22039e314aa587e786c0df1cabd5fbeb7624e362f11b696d660
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:453edbc1a40ec9e9d35d0eac1858488e1bdff22c800823f36c0c43386b9fbebe
3
  size 5304