Hemg commited on
Commit
a5319b7
·
verified ·
1 Parent(s): 200b512

Model save

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: Face-Mask-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
+ # Face-Mask-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.0239
21
+ - Accuracy: 0.9953
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: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 64
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: 2
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.1218 | 1.0 | 147 | 0.0251 | 0.9953 |
56
+ | 0.0186 | 1.99 | 294 | 0.0239 | 0.9953 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.38.2
62
+ - Pytorch 2.1.2
63
+ - Datasets 2.18.0
64
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a32209b28ffd13f2b164a2dcb3da31cef4840e9e853a1f79c674019fc1e31157
3
  size 343223968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a510e680a4eb25edb8a965dd647be8c82fee6605bc929571e2a57f18516a21e
3
  size 343223968
runs/Mar10_10-17-25_9bca314f0bb9/events.out.tfevents.1710065846.9bca314f0bb9.34.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e96159da9b04b7b19667ba10ea80ea7b580648b32810bc97e6d2c96ace317ce
3
- size 5648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:817964765b23a1dd2f0a27a73dc6cbe8ca6fbd45b5f8ca2774906d68c7336ff3
3
+ size 6002