End of training
Browse files- README.md +107 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: urinary_carcinoma_classifier_g001
|
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[:23]
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.6
|
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 |
+
# urinary_carcinoma_classifier_g001
|
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: 0.6827
|
36 |
+
- Accuracy: 0.6
|
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: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- gradient_accumulation_steps: 4
|
60 |
+
- total_train_batch_size: 64
|
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: 30
|
65 |
+
|
66 |
+
### Training results
|
67 |
+
|
68 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| No log | 1.0 | 1 | 0.7147 | 0.4 |
|
71 |
+
| No log | 2.0 | 2 | 0.7114 | 0.4 |
|
72 |
+
| No log | 3.0 | 3 | 0.6968 | 0.2 |
|
73 |
+
| No log | 4.0 | 4 | 0.7055 | 0.4 |
|
74 |
+
| No log | 5.0 | 5 | 0.6741 | 0.4 |
|
75 |
+
| No log | 6.0 | 6 | 0.6580 | 0.6 |
|
76 |
+
| No log | 7.0 | 7 | 0.6092 | 0.6 |
|
77 |
+
| No log | 8.0 | 8 | 0.6200 | 0.6 |
|
78 |
+
| No log | 9.0 | 9 | 0.6139 | 0.6 |
|
79 |
+
| 0.3094 | 10.0 | 10 | 0.5969 | 0.6 |
|
80 |
+
| 0.3094 | 11.0 | 11 | 0.5677 | 0.6 |
|
81 |
+
| 0.3094 | 12.0 | 12 | 0.6021 | 0.6 |
|
82 |
+
| 0.3094 | 13.0 | 13 | 0.6189 | 0.6 |
|
83 |
+
| 0.3094 | 14.0 | 14 | 0.6054 | 0.6 |
|
84 |
+
| 0.3094 | 15.0 | 15 | 0.6240 | 0.6 |
|
85 |
+
| 0.3094 | 16.0 | 16 | 0.5388 | 0.6 |
|
86 |
+
| 0.3094 | 17.0 | 17 | 0.5320 | 0.6 |
|
87 |
+
| 0.3094 | 18.0 | 18 | 0.5973 | 0.6 |
|
88 |
+
| 0.3094 | 19.0 | 19 | 0.5981 | 0.8 |
|
89 |
+
| 0.1723 | 20.0 | 20 | 0.6531 | 0.6 |
|
90 |
+
| 0.1723 | 21.0 | 21 | 0.6246 | 0.6 |
|
91 |
+
| 0.1723 | 22.0 | 22 | 0.6718 | 0.6 |
|
92 |
+
| 0.1723 | 23.0 | 23 | 0.6692 | 0.6 |
|
93 |
+
| 0.1723 | 24.0 | 24 | 0.6537 | 0.6 |
|
94 |
+
| 0.1723 | 25.0 | 25 | 0.4650 | 0.6 |
|
95 |
+
| 0.1723 | 26.0 | 26 | 0.6873 | 0.6 |
|
96 |
+
| 0.1723 | 27.0 | 27 | 0.6461 | 0.6 |
|
97 |
+
| 0.1723 | 28.0 | 28 | 0.5876 | 0.8 |
|
98 |
+
| 0.1723 | 29.0 | 29 | 0.4898 | 0.6 |
|
99 |
+
| 0.1049 | 30.0 | 30 | 0.6827 | 0.6 |
|
100 |
+
|
101 |
+
|
102 |
+
### Framework versions
|
103 |
+
|
104 |
+
- Transformers 4.42.4
|
105 |
+
- Pytorch 2.3.1
|
106 |
+
- Datasets 2.20.0
|
107 |
+
- 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 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2eaff1d08290bb452f127f75012935e405f0748de33dce0258bcfeafb64f5c3b
|
3 |
size 343223968
|