Model save
Browse files
README.md
CHANGED
@@ -3,6 +3,11 @@ license: apache-2.0
|
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
|
6 |
model-index:
|
7 |
- name: vit-real-fake-classification-v3
|
8 |
results: []
|
@@ -14,6 +19,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
# vit-real-fake-classification-v3
|
15 |
|
16 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
@@ -41,6 +52,17 @@ The following hyperparameters were used during training:
|
|
41 |
- lr_scheduler_warmup_ratio: 0.1
|
42 |
- num_epochs: 5
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
### Framework versions
|
45 |
|
46 |
- Transformers 4.41.1
|
|
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- recall
|
10 |
+
- precision
|
11 |
model-index:
|
12 |
- name: vit-real-fake-classification-v3
|
13 |
results: []
|
|
|
19 |
# vit-real-fake-classification-v3
|
20 |
|
21 |
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0541
|
24 |
+
- Accuracy: 0.9817
|
25 |
+
- F1: 0.9834
|
26 |
+
- Recall: 0.9834
|
27 |
+
- Precision: 0.9834
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
52 |
- lr_scheduler_warmup_ratio: 0.1
|
53 |
- num_epochs: 5
|
54 |
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Precision |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
|
59 |
+
| 0.2481 | 1.0 | 233 | 0.0846 | 0.9667 | 0.9699 | 0.9737 | 0.9662 |
|
60 |
+
| 0.1881 | 2.0 | 466 | 0.0773 | 0.9726 | 0.9756 | 0.9912 | 0.9604 |
|
61 |
+
| 0.1036 | 3.0 | 699 | 0.0691 | 0.9774 | 0.9796 | 0.9815 | 0.9777 |
|
62 |
+
| 0.0007 | 4.0 | 932 | 0.0698 | 0.9817 | 0.9835 | 0.9854 | 0.9816 |
|
63 |
+
| 0.0029 | 5.0 | 1165 | 0.0541 | 0.9817 | 0.9834 | 0.9834 | 0.9834 |
|
64 |
+
|
65 |
+
|
66 |
### Framework versions
|
67 |
|
68 |
- Transformers 4.41.1
|