End of training
Browse files- README.md +73 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/vit-base-patch16-224-in21k
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: face_poofing_detection
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# face_poofing_detection
|
18 |
+
|
19 |
+
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.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.6273
|
22 |
+
- Accuracy: 0.9871
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 5e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- gradient_accumulation_steps: 4
|
46 |
+
- total_train_batch_size: 64
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
50 |
+
- num_epochs: 10
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
55 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
56 |
+
| 6.3243 | 0.9846 | 48 | 5.6154 | 0.8919 |
|
57 |
+
| 4.4794 | 1.9897 | 97 | 4.3516 | 0.9202 |
|
58 |
+
| 3.8293 | 2.9949 | 146 | 3.6687 | 0.9730 |
|
59 |
+
| 3.2121 | 4.0 | 195 | 3.1092 | 0.9820 |
|
60 |
+
| 2.733 | 4.9846 | 243 | 2.6919 | 0.9743 |
|
61 |
+
| 2.3114 | 5.9897 | 292 | 2.2633 | 0.9923 |
|
62 |
+
| 1.9962 | 6.9949 | 341 | 1.9594 | 0.9923 |
|
63 |
+
| 1.7789 | 8.0 | 390 | 1.7641 | 0.9897 |
|
64 |
+
| 1.6642 | 8.9846 | 438 | 1.6506 | 0.9910 |
|
65 |
+
| 1.6005 | 9.8462 | 480 | 1.6273 | 0.9871 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.44.2
|
71 |
+
- Pytorch 2.5.0+cu121
|
72 |
+
- Datasets 3.1.0
|
73 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 352775004
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30c2b941a7a19a2446de46e8d70b92c79af999d21d7ecca45a2f140ed2d29097
|
3 |
size 352775004
|