itsLeen/swin-large-ai-or-nott
Browse files- README.md +13 -15
- all_results.json +6 -6
- model.safetensors +1 -1
- train_results.json +6 -6
- 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.
|
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.
|
37 |
-
- Accuracy: 0.
|
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:
|
58 |
- eval_batch_size: 8
|
59 |
- seed: 42
|
60 |
-
- gradient_accumulation_steps:
|
61 |
-
- total_train_batch_size:
|
62 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-
|
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.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
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":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second": 0.
|
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:
|
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":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second": 0.
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:96fbff71158aeaea6c5cc48f551eea09142f4e372203f1dd2c98b1b7fde00973
|
3 |
+
size 5112
|