necrobradley
commited on
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: face_predict
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train[:800]
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.5625
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# face_predict
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.2322
|
36 |
+
- Accuracy: 0.5625
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 32
|
57 |
+
- eval_batch_size: 32
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 6
|
60 |
+
- total_train_batch_size: 192
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- lr_scheduler_warmup_ratio: 0.1
|
64 |
+
- num_epochs: 40
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 0.9 | 3 | 2.0747 | 0.1187 |
|
71 |
+
| No log | 1.8 | 6 | 2.0728 | 0.1375 |
|
72 |
+
| 2.0713 | 3.0 | 10 | 2.0449 | 0.2 |
|
73 |
+
| 2.0713 | 3.9 | 13 | 2.0225 | 0.2562 |
|
74 |
+
| 2.0713 | 4.8 | 16 | 1.9779 | 0.2938 |
|
75 |
+
| 1.9642 | 6.0 | 20 | 1.8985 | 0.3688 |
|
76 |
+
| 1.9642 | 6.9 | 23 | 1.8440 | 0.4188 |
|
77 |
+
| 1.9642 | 7.8 | 26 | 1.7593 | 0.4437 |
|
78 |
+
| 1.7442 | 9.0 | 30 | 1.6551 | 0.4875 |
|
79 |
+
| 1.7442 | 9.9 | 33 | 1.5996 | 0.4875 |
|
80 |
+
| 1.7442 | 10.8 | 36 | 1.5324 | 0.5188 |
|
81 |
+
| 1.5402 | 12.0 | 40 | 1.5053 | 0.525 |
|
82 |
+
| 1.5402 | 12.9 | 43 | 1.4543 | 0.5188 |
|
83 |
+
| 1.5402 | 13.8 | 46 | 1.4335 | 0.5188 |
|
84 |
+
| 1.4064 | 15.0 | 50 | 1.3768 | 0.5938 |
|
85 |
+
| 1.4064 | 15.9 | 53 | 1.3583 | 0.6 |
|
86 |
+
| 1.4064 | 16.8 | 56 | 1.3464 | 0.575 |
|
87 |
+
| 1.2844 | 18.0 | 60 | 1.3245 | 0.6125 |
|
88 |
+
| 1.2844 | 18.9 | 63 | 1.3265 | 0.5563 |
|
89 |
+
| 1.2844 | 19.8 | 66 | 1.2899 | 0.5813 |
|
90 |
+
| 1.1834 | 21.0 | 70 | 1.2863 | 0.5625 |
|
91 |
+
| 1.1834 | 21.9 | 73 | 1.2939 | 0.5687 |
|
92 |
+
| 1.1834 | 22.8 | 76 | 1.2508 | 0.5938 |
|
93 |
+
| 1.1046 | 24.0 | 80 | 1.2604 | 0.5563 |
|
94 |
+
| 1.1046 | 24.9 | 83 | 1.2344 | 0.6062 |
|
95 |
+
| 1.1046 | 25.8 | 86 | 1.2124 | 0.6125 |
|
96 |
+
| 1.0379 | 27.0 | 90 | 1.2053 | 0.6312 |
|
97 |
+
| 1.0379 | 27.9 | 93 | 1.3067 | 0.5375 |
|
98 |
+
| 1.0379 | 28.8 | 96 | 1.2247 | 0.5875 |
|
99 |
+
| 1.0064 | 30.0 | 100 | 1.2060 | 0.625 |
|
100 |
+
| 1.0064 | 30.9 | 103 | 1.2308 | 0.575 |
|
101 |
+
| 1.0064 | 31.8 | 106 | 1.1936 | 0.6188 |
|
102 |
+
| 0.9611 | 33.0 | 110 | 1.2257 | 0.5938 |
|
103 |
+
| 0.9611 | 33.9 | 113 | 1.2302 | 0.5563 |
|
104 |
+
| 0.9611 | 34.8 | 116 | 1.2172 | 0.6 |
|
105 |
+
| 0.9351 | 36.0 | 120 | 1.2355 | 0.55 |
|
106 |
+
|
107 |
+
|
108 |
+
### Framework versions
|
109 |
+
|
110 |
+
- Transformers 4.41.2
|
111 |
+
- Pytorch 2.3.0+cu121
|
112 |
+
- Datasets 2.20.0
|
113 |
+
- 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 343242432
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:597e0a67f241ba02abdde83a043db5d8fce57c2781640ee19a1175925cca5cb6
|
3 |
size 343242432
|
runs/Jul02_08-04-30_227d05fadcc8/events.out.tfevents.1719907501.227d05fadcc8.1434.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6686b1b390c221b7cc709df0a5633699e09527842ed8ab88446d2dd395ede2d8
|
3 |
+
size 19262
|
runs/Jul02_08-04-30_227d05fadcc8/events.out.tfevents.1719909164.227d05fadcc8.1434.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86b7c530e25ad77e2a4a50990e9de7930216ccda404f06e2b93564dece9d2fcf
|
3 |
+
size 405
|