Model save
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
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-v4
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# vit-real-fake-classification-v4
|
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.0585
|
24 |
+
- Accuracy: 0.9796
|
25 |
+
- F1: 0.9815
|
26 |
+
- Recall: 0.9815
|
27 |
+
- Precision: 0.9815
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 0.0002
|
47 |
+
- train_batch_size: 32
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
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.1295 | 1.0 | 233 | 0.2414 | 0.9151 | 0.9280 | 0.9912 | 0.8723 |
|
60 |
+
| 0.4466 | 2.0 | 466 | 0.1042 | 0.9646 | 0.9680 | 0.9718 | 0.9643 |
|
61 |
+
| 0.3302 | 3.0 | 699 | 0.0667 | 0.9764 | 0.9786 | 0.9776 | 0.9795 |
|
62 |
+
| 0.0003 | 4.0 | 932 | 0.0995 | 0.9731 | 0.9758 | 0.9796 | 0.9720 |
|
63 |
+
| 0.0002 | 5.0 | 1165 | 0.0585 | 0.9796 | 0.9815 | 0.9815 | 0.9815 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.41.1
|
69 |
+
- Pytorch 2.3.0+cu121
|
70 |
+
- Datasets 2.19.2
|
71 |
+
- Tokenizers 0.19.1
|