habibi26 commited on
Commit
f4e03cf
·
verified ·
1 Parent(s): d04d80f

Model save

Browse files
Files changed (2) hide show
  1. README.md +94 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: openai/clip-vit-base-patch32
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - imagefolder
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: ktp-spoof-clip
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ dataset:
16
+ name: imagefolder
17
+ type: imagefolder
18
+ config: default
19
+ split: validation
20
+ args: default
21
+ metrics:
22
+ - name: Accuracy
23
+ type: accuracy
24
+ value: 1.0
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # ktp-spoof-clip
31
+
32
+ This model is a fine-tuned version of [openai/clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32) on the imagefolder dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.0026
35
+ - Accuracy: 1.0
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 5e-05
55
+ - train_batch_size: 16
56
+ - eval_batch_size: 16
57
+ - seed: 42
58
+ - gradient_accumulation_steps: 4
59
+ - total_train_batch_size: 64
60
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
61
+ - lr_scheduler_type: linear
62
+ - lr_scheduler_warmup_ratio: 0.1
63
+ - num_epochs: 20
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
68
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|
69
+ | No log | 0.8889 | 4 | 0.5977 | 0.7794 |
70
+ | No log | 2.0 | 9 | 0.4052 | 0.7941 |
71
+ | 0.662 | 2.8889 | 13 | 0.9644 | 0.5 |
72
+ | 0.662 | 4.0 | 18 | 0.2191 | 0.9265 |
73
+ | 0.5454 | 4.8889 | 22 | 0.1040 | 0.9706 |
74
+ | 0.5454 | 6.0 | 27 | 0.0587 | 0.9853 |
75
+ | 0.1982 | 6.8889 | 31 | 0.0637 | 0.9853 |
76
+ | 0.1982 | 8.0 | 36 | 0.0255 | 1.0 |
77
+ | 0.1826 | 8.8889 | 40 | 0.0617 | 0.9559 |
78
+ | 0.1826 | 10.0 | 45 | 0.0519 | 0.9853 |
79
+ | 0.1826 | 10.8889 | 49 | 0.0369 | 0.9706 |
80
+ | 0.0996 | 12.0 | 54 | 0.0348 | 0.9853 |
81
+ | 0.0996 | 12.8889 | 58 | 0.1207 | 0.9412 |
82
+ | 0.0829 | 14.0 | 63 | 0.0158 | 0.9853 |
83
+ | 0.0829 | 14.8889 | 67 | 0.0577 | 0.9706 |
84
+ | 0.0348 | 16.0 | 72 | 0.0129 | 0.9853 |
85
+ | 0.0348 | 16.8889 | 76 | 0.0052 | 1.0 |
86
+ | 0.0103 | 17.7778 | 80 | 0.0026 | 1.0 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.41.2
92
+ - Pytorch 2.1.2
93
+ - Datasets 2.19.2
94
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba556306ad18a1ca91df7baec78e2b72adbdd514d03233ab2faa11aaf6ede2e5
3
  size 349854120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd00e6ce05708fc7c75bd224492b2393fc8151921dd326650e0c0530076f1ac2
3
  size 349854120