ahmedesmail16
commited on
Commit
•
529bb24
1
Parent(s):
b046119
End of training
Browse files- README.md +72 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: 0.50-200Train-100Test-vit-base
|
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 |
+
# 0.50-200Train-100Test-vit-base
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.7055
|
21 |
+
- Accuracy: 0.8140
|
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: 10
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
55 |
+
| 1.9228 | 0.9931 | 36 | 1.4677 | 0.5921 |
|
56 |
+
| 0.5728 | 1.9862 | 72 | 0.7717 | 0.7721 |
|
57 |
+
| 0.2216 | 2.9793 | 108 | 0.6836 | 0.7930 |
|
58 |
+
| 0.052 | 4.0 | 145 | 0.6623 | 0.8052 |
|
59 |
+
| 0.0145 | 4.9931 | 181 | 0.7002 | 0.7991 |
|
60 |
+
| 0.0075 | 5.9862 | 217 | 0.6851 | 0.8131 |
|
61 |
+
| 0.0059 | 6.9793 | 253 | 0.6920 | 0.8166 |
|
62 |
+
| 0.0045 | 8.0 | 290 | 0.6996 | 0.8140 |
|
63 |
+
| 0.004 | 8.9931 | 326 | 0.7044 | 0.8140 |
|
64 |
+
| 0.0042 | 9.9310 | 360 | 0.7055 | 0.8140 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.41.2
|
70 |
+
- Pytorch 2.1.2
|
71 |
+
- Datasets 2.19.2
|
72 |
+
- 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 343254736
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67b024d32fc32eb06dae8c20780163123f98895e019dd1f6da7472f4f401202d
|
3 |
size 343254736
|