update model card README.md
Browse files
README.md
CHANGED
|
@@ -2,26 +2,11 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
datasets:
|
| 6 |
-
- imagefolder
|
| 7 |
metrics:
|
| 8 |
-
-
|
| 9 |
model-index:
|
| 10 |
- name: vit-base-patch16-224
|
| 11 |
-
results:
|
| 12 |
-
- task:
|
| 13 |
-
name: Image Classification
|
| 14 |
-
type: image-classification
|
| 15 |
-
dataset:
|
| 16 |
-
name: imagefolder
|
| 17 |
-
type: imagefolder
|
| 18 |
-
config: default
|
| 19 |
-
split: train
|
| 20 |
-
args: default
|
| 21 |
-
metrics:
|
| 22 |
-
- name: Accuracy
|
| 23 |
-
type: accuracy
|
| 24 |
-
value: 0.5555555555555556
|
| 25 |
---
|
| 26 |
|
| 27 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -29,10 +14,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 29 |
|
| 30 |
# vit-base-patch16-224
|
| 31 |
|
| 32 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on
|
| 33 |
It achieves the following results on the evaluation set:
|
| 34 |
-
- Loss:
|
| 35 |
-
-
|
| 36 |
|
| 37 |
## Model description
|
| 38 |
|
|
@@ -51,7 +36,7 @@ More information needed
|
|
| 51 |
### Training hyperparameters
|
| 52 |
|
| 53 |
The following hyperparameters were used during training:
|
| 54 |
-
- learning_rate:
|
| 55 |
- train_batch_size: 32
|
| 56 |
- eval_batch_size: 32
|
| 57 |
- seed: 42
|
|
@@ -60,20 +45,18 @@ The following hyperparameters were used during training:
|
|
| 60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 61 |
- lr_scheduler_type: linear
|
| 62 |
- lr_scheduler_warmup_ratio: 0.1
|
| 63 |
-
- num_epochs:
|
| 64 |
|
| 65 |
### Training results
|
| 66 |
|
| 67 |
-
| Training Loss | Epoch | Step | Validation Loss |
|
| 68 |
-
|
| 69 |
-
|
|
| 70 |
-
| No log | 1.67 | 2 | 1.1265 | 0.5 |
|
| 71 |
-
| No log | 2.67 | 3 | 1.1091 | 0.5556 |
|
| 72 |
|
| 73 |
|
| 74 |
### Framework versions
|
| 75 |
|
| 76 |
-
- Transformers 4.
|
| 77 |
-
- Pytorch 1.
|
| 78 |
-
- Datasets 2.
|
| 79 |
-
- Tokenizers 0.13.
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
|
|
|
|
|
| 5 |
metrics:
|
| 6 |
+
- f1
|
| 7 |
model-index:
|
| 8 |
- name: vit-base-patch16-224
|
| 9 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 14 |
|
| 15 |
# vit-base-patch16-224
|
| 16 |
|
| 17 |
+
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.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.6731
|
| 20 |
+
- F1: 0.0
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|
|
|
|
| 36 |
### Training hyperparameters
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 0.001
|
| 40 |
- train_batch_size: 32
|
| 41 |
- eval_batch_size: 32
|
| 42 |
- seed: 42
|
|
|
|
| 45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
- lr_scheduler_warmup_ratio: 0.1
|
| 48 |
+
- num_epochs: 1
|
| 49 |
|
| 50 |
### Training results
|
| 51 |
|
| 52 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 53 |
+
|:-------------:|:-----:|:----:|:---------------:|:---:|
|
| 54 |
+
| 0.7894 | 0.98 | 27 | 0.6731 | 0.0 |
|
|
|
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
| 58 |
|
| 59 |
+
- Transformers 4.25.1
|
| 60 |
+
- Pytorch 1.13.0+cu116
|
| 61 |
+
- Datasets 2.7.1
|
| 62 |
+
- Tokenizers 0.13.2
|