Hemg commited on
Commit
81c65cb
·
verified ·
1 Parent(s): a1547fd

Model save

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: Deepfake-Detection
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # Deepfake-Detection
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0975
21
+ - Accuracy: 0.9609
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0003
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 128
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 4
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 0.2726 | 1.0 | 954 | 0.1983 | 0.9174 |
57
+ | 0.1616 | 2.0 | 1909 | 0.1468 | 0.9388 |
58
+ | 0.1189 | 3.0 | 2863 | 0.1136 | 0.9537 |
59
+ | 0.082 | 4.0 | 3816 | 0.0975 | 0.9609 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.38.2
65
+ - Pytorch 2.1.2
66
+ - Datasets 2.18.0
67
+ - Tokenizers 0.15.2
runs/Mar18_08-26-27_85bca38c227e/events.out.tfevents.1710750388.85bca38c227e.34.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5c667e3d25c91409c4a368a943e77f4315070af1e6713c7e9ff50bd4a169179c
3
- size 6710
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fee6fc77ef373fc08a7e3f6ad456be51bd9547d5aa60dea65ff1dc16576e64a5
3
+ size 7064