itsLeen commited on
Commit
33d3090
1 Parent(s): 0455ba4

itsLeen/swin-large-ai-or-nott

Browse files
Files changed (5) hide show
  1. README.md +13 -15
  2. all_results.json +6 -6
  3. model.safetensors +1 -1
  4. train_results.json +6 -6
  5. training_args.bin +2 -2
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.9625
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 [itsLeen/swin-large-ai-or-not](https://huggingface.co/itsLeen/swin-large-ai-or-not) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
- - Loss: 0.2540
37
- - Accuracy: 0.9625
38
 
39
  ## Model description
40
 
@@ -54,13 +54,14 @@ More information needed
54
 
55
  The following hyperparameters were used during training:
56
  - learning_rate: 3e-05
57
- - train_batch_size: 8
58
  - eval_batch_size: 8
59
  - seed: 42
60
- - gradient_accumulation_steps: 2
61
- - total_train_batch_size: 16
62
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
  - lr_scheduler_type: cosine
 
64
  - num_epochs: 20
65
  - mixed_precision_training: Native AMP
66
 
@@ -68,14 +69,11 @@ The following hyperparameters were used during training:
68
 
69
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
70
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
71
- | 0.1485 | 1.0 | 100 | 0.2140 | 0.93 |
72
- | 0.0185 | 2.0 | 200 | 0.1999 | 0.9625 |
73
- | 0.0122 | 3.0 | 300 | 0.1703 | 0.9575 |
74
- | 0.0044 | 4.0 | 400 | 0.1952 | 0.9575 |
75
- | 0.0 | 5.0 | 500 | 0.2642 | 0.965 |
76
- | 0.0 | 6.0 | 600 | 0.2600 | 0.965 |
77
- | 0.0 | 7.0 | 700 | 0.3664 | 0.9625 |
78
- | 0.0 | 8.0 | 800 | 0.2540 | 0.9625 |
79
 
80
 
81
  ### Framework versions
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.98
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 [itsLeen/swin-large-ai-or-not](https://huggingface.co/itsLeen/swin-large-ai-or-not) on the imagefolder dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.1841
37
+ - Accuracy: 0.98
38
 
39
  ## Model description
40
 
 
54
 
55
  The following hyperparameters were used during training:
56
  - learning_rate: 3e-05
57
+ - train_batch_size: 16
58
  - eval_batch_size: 8
59
  - seed: 42
60
+ - gradient_accumulation_steps: 4
61
+ - total_train_batch_size: 64
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-06
63
  - lr_scheduler_type: cosine
64
+ - lr_scheduler_warmup_steps: 1000
65
  - num_epochs: 20
66
  - mixed_precision_training: Native AMP
67
 
 
69
 
70
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
72
+ | 0.0095 | 4.0 | 100 | 0.2067 | 0.97 |
73
+ | 0.0013 | 8.0 | 200 | 0.1890 | 0.9725 |
74
+ | 0.0014 | 12.0 | 300 | 0.2007 | 0.9725 |
75
+ | 0.0003 | 16.0 | 400 | 0.1674 | 0.98 |
76
+ | 0.0001 | 20.0 | 500 | 0.1841 | 0.98 |
 
 
 
77
 
78
 
79
  ### Framework versions
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 8.0,
3
- "total_flos": 1.0028231120388096e+18,
4
- "train_loss": 0.03964285453781485,
5
- "train_runtime": 2016.2985,
6
- "train_samples_per_second": 15.871,
7
- "train_steps_per_second": 0.992
8
  }
 
1
  {
2
+ "epoch": 20.0,
3
+ "total_flos": 2.507057780097024e+18,
4
+ "train_loss": 0.003469271097332239,
5
+ "train_runtime": 3906.4221,
6
+ "train_samples_per_second": 8.192,
7
+ "train_steps_per_second": 0.128
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c49b17008b5fa8e6fe35e45d2bff15f60ac98f912bb0cd32bde3187b637ef6b2
3
  size 347498816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4370b272790dfd2ba592e3834f62e097c9b0bea64300d0b6372eea1e429d7125
3
  size 347498816
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 8.0,
3
- "total_flos": 1.0028231120388096e+18,
4
- "train_loss": 0.03964285453781485,
5
- "train_runtime": 2016.2985,
6
- "train_samples_per_second": 15.871,
7
- "train_steps_per_second": 0.992
8
  }
 
1
  {
2
+ "epoch": 20.0,
3
+ "total_flos": 2.507057780097024e+18,
4
+ "train_loss": 0.003469271097332239,
5
+ "train_runtime": 3906.4221,
6
+ "train_samples_per_second": 8.192,
7
+ "train_steps_per_second": 0.128
8
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f71648cc0aa416296e2b8c942150816176f175ccd7e9d3c4e9dda8976c83f8d
3
- size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96fbff71158aeaea6c5cc48f551eea09142f4e372203f1dd2c98b1b7fde00973
3
+ size 5112