Model save
Browse files- README.md +95 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: vit-beta1-0.85
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# vit-beta1-0.85
|
20 |
+
|
21 |
+
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.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6038
|
24 |
+
- Accuracy: 0.8766
|
25 |
+
- Precision: 0.8722
|
26 |
+
- Recall: 0.8766
|
27 |
+
- F1: 0.8729
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 0.0001
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.85,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_steps: 1733
|
53 |
+
- num_epochs: 100
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
59 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
60 |
+
| 1.763 | 1.0 | 321 | 0.9505 | 0.6952 | 0.6346 | 0.6952 | 0.6202 |
|
61 |
+
| 1.149 | 2.0 | 642 | 0.7147 | 0.7445 | 0.7457 | 0.7445 | 0.7230 |
|
62 |
+
| 1.0452 | 3.0 | 963 | 0.6250 | 0.7573 | 0.7591 | 0.7573 | 0.7321 |
|
63 |
+
| 1.0048 | 4.0 | 1284 | 0.5614 | 0.7784 | 0.7792 | 0.7784 | 0.7737 |
|
64 |
+
| 0.931 | 5.0 | 1605 | 0.6082 | 0.7739 | 0.8020 | 0.7739 | 0.7823 |
|
65 |
+
| 0.9808 | 6.0 | 1926 | 0.5542 | 0.7982 | 0.7984 | 0.7982 | 0.7951 |
|
66 |
+
| 0.8908 | 7.0 | 2247 | 0.5957 | 0.7545 | 0.8202 | 0.7545 | 0.7709 |
|
67 |
+
| 0.7747 | 8.0 | 2568 | 0.5766 | 0.7694 | 0.8155 | 0.7694 | 0.7836 |
|
68 |
+
| 0.741 | 9.0 | 2889 | 0.5431 | 0.7996 | 0.8190 | 0.7996 | 0.8047 |
|
69 |
+
| 0.7179 | 10.0 | 3210 | 0.5865 | 0.7774 | 0.8313 | 0.7774 | 0.7904 |
|
70 |
+
| 0.6102 | 11.0 | 3531 | 0.5288 | 0.8096 | 0.8361 | 0.8096 | 0.8180 |
|
71 |
+
| 0.574 | 12.0 | 3852 | 0.5991 | 0.7996 | 0.8332 | 0.7996 | 0.8096 |
|
72 |
+
| 0.4515 | 13.0 | 4173 | 0.5890 | 0.8370 | 0.8334 | 0.8370 | 0.8293 |
|
73 |
+
| 0.4629 | 14.0 | 4494 | 0.5573 | 0.8121 | 0.8463 | 0.8121 | 0.8205 |
|
74 |
+
| 0.3927 | 15.0 | 4815 | 0.5279 | 0.8332 | 0.8506 | 0.8332 | 0.8357 |
|
75 |
+
| 0.3535 | 16.0 | 5136 | 0.5364 | 0.8356 | 0.8494 | 0.8356 | 0.8405 |
|
76 |
+
| 0.2635 | 17.0 | 5457 | 0.5475 | 0.8547 | 0.8626 | 0.8547 | 0.8532 |
|
77 |
+
| 0.2493 | 18.0 | 5778 | 0.5102 | 0.8558 | 0.8568 | 0.8558 | 0.8553 |
|
78 |
+
| 0.2125 | 19.0 | 6099 | 0.6120 | 0.8329 | 0.8623 | 0.8329 | 0.8418 |
|
79 |
+
| 0.2179 | 20.0 | 6420 | 0.5721 | 0.8568 | 0.8563 | 0.8568 | 0.8563 |
|
80 |
+
| 0.1598 | 21.0 | 6741 | 0.5503 | 0.8651 | 0.8623 | 0.8651 | 0.8633 |
|
81 |
+
| 0.1194 | 22.0 | 7062 | 0.5829 | 0.8679 | 0.8672 | 0.8679 | 0.8669 |
|
82 |
+
| 0.1245 | 23.0 | 7383 | 0.6138 | 0.8682 | 0.8632 | 0.8682 | 0.8629 |
|
83 |
+
| 0.1239 | 24.0 | 7704 | 0.6136 | 0.8731 | 0.8703 | 0.8731 | 0.8695 |
|
84 |
+
| 0.1159 | 25.0 | 8025 | 0.5931 | 0.8752 | 0.8724 | 0.8752 | 0.8726 |
|
85 |
+
| 0.089 | 26.0 | 8346 | 0.5847 | 0.8776 | 0.8743 | 0.8776 | 0.8750 |
|
86 |
+
| 0.1123 | 27.0 | 8667 | 0.5941 | 0.8752 | 0.8710 | 0.8752 | 0.8719 |
|
87 |
+
| 0.0779 | 28.0 | 8988 | 0.6038 | 0.8766 | 0.8722 | 0.8766 | 0.8729 |
|
88 |
+
|
89 |
+
|
90 |
+
### Framework versions
|
91 |
+
|
92 |
+
- Transformers 4.40.0.dev0
|
93 |
+
- Pytorch 2.2.1+cu121
|
94 |
+
- Datasets 2.18.0
|
95 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343239356
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43ecf01824d828e44cc6f7e73fa8bceb4ce494abe477785bfa41d42ffaf74b59
|
3 |
size 343239356
|