tejp/custom_dataset
Browse files- README.md +26 -2
- all_results.json +10 -10
- eval_results.json +6 -6
- train_results.json +4 -4
- trainer_state.json +4 -4
README.md
CHANGED
|
@@ -2,12 +2,32 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224
|
| 4 |
tags:
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
|
|
|
|
|
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: fine-tuned
|
| 10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -15,7 +35,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
# fine-tuned
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model description
|
| 21 |
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224
|
| 4 |
tags:
|
| 5 |
+
- image-classification
|
| 6 |
- generated_from_trainer
|
| 7 |
datasets:
|
| 8 |
- imagefolder
|
| 9 |
+
metrics:
|
| 10 |
+
- accuracy
|
| 11 |
+
- f1
|
| 12 |
model-index:
|
| 13 |
- name: fine-tuned
|
| 14 |
+
results:
|
| 15 |
+
- task:
|
| 16 |
+
name: Image Classification
|
| 17 |
+
type: image-classification
|
| 18 |
+
dataset:
|
| 19 |
+
name: custom_dataset
|
| 20 |
+
type: imagefolder
|
| 21 |
+
config: default
|
| 22 |
+
split: train
|
| 23 |
+
args: default
|
| 24 |
+
metrics:
|
| 25 |
+
- name: Accuracy
|
| 26 |
+
type: accuracy
|
| 27 |
+
value: 0.2857142857142857
|
| 28 |
+
- name: F1
|
| 29 |
+
type: f1
|
| 30 |
+
value: 0.20303030303030303
|
| 31 |
---
|
| 32 |
|
| 33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 35 |
|
| 36 |
# fine-tuned
|
| 37 |
|
| 38 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the custom_dataset dataset.
|
| 39 |
+
It achieves the following results on the evaluation set:
|
| 40 |
+
- Loss: 2.0068
|
| 41 |
+
- Accuracy: 0.2857
|
| 42 |
+
- F1: 0.2030
|
| 43 |
|
| 44 |
## Model description
|
| 45 |
|
all_results.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_f1": 0.
|
| 5 |
-
"eval_loss":
|
| 6 |
-
"eval_runtime":
|
| 7 |
-
"eval_samples_per_second":
|
| 8 |
-
"eval_steps_per_second": 0.
|
| 9 |
"total_flos": 3254926098493440.0,
|
| 10 |
-
"train_loss":
|
| 11 |
-
"train_runtime":
|
| 12 |
-
"train_samples_per_second":
|
| 13 |
-
"train_steps_per_second": 0.
|
| 14 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
+
"eval_accuracy": 0.2857142857142857,
|
| 4 |
+
"eval_f1": 0.20303030303030303,
|
| 5 |
+
"eval_loss": 2.0067503452301025,
|
| 6 |
+
"eval_runtime": 41.6687,
|
| 7 |
+
"eval_samples_per_second": 0.336,
|
| 8 |
+
"eval_steps_per_second": 0.048,
|
| 9 |
"total_flos": 3254926098493440.0,
|
| 10 |
+
"train_loss": 2.3485514322916665,
|
| 11 |
+
"train_runtime": 131.9053,
|
| 12 |
+
"train_samples_per_second": 0.318,
|
| 13 |
+
"train_steps_per_second": 0.023
|
| 14 |
}
|
eval_results.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_f1": 0.
|
| 5 |
-
"eval_loss":
|
| 6 |
-
"eval_runtime":
|
| 7 |
-
"eval_samples_per_second":
|
| 8 |
-
"eval_steps_per_second": 0.
|
| 9 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
+
"eval_accuracy": 0.2857142857142857,
|
| 4 |
+
"eval_f1": 0.20303030303030303,
|
| 5 |
+
"eval_loss": 2.0067503452301025,
|
| 6 |
+
"eval_runtime": 41.6687,
|
| 7 |
+
"eval_samples_per_second": 0.336,
|
| 8 |
+
"eval_steps_per_second": 0.048
|
| 9 |
}
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
"total_flos": 3254926098493440.0,
|
| 4 |
-
"train_loss":
|
| 5 |
-
"train_runtime":
|
| 6 |
-
"train_samples_per_second":
|
| 7 |
-
"train_steps_per_second": 0.
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"epoch": 3.0,
|
| 3 |
"total_flos": 3254926098493440.0,
|
| 4 |
+
"train_loss": 2.3485514322916665,
|
| 5 |
+
"train_runtime": 131.9053,
|
| 6 |
+
"train_samples_per_second": 0.318,
|
| 7 |
+
"train_steps_per_second": 0.023
|
| 8 |
}
|
trainer_state.json
CHANGED
|
@@ -12,10 +12,10 @@
|
|
| 12 |
"epoch": 3.0,
|
| 13 |
"step": 3,
|
| 14 |
"total_flos": 3254926098493440.0,
|
| 15 |
-
"train_loss":
|
| 16 |
-
"train_runtime":
|
| 17 |
-
"train_samples_per_second":
|
| 18 |
-
"train_steps_per_second": 0.
|
| 19 |
}
|
| 20 |
],
|
| 21 |
"logging_steps": 1000,
|
|
|
|
| 12 |
"epoch": 3.0,
|
| 13 |
"step": 3,
|
| 14 |
"total_flos": 3254926098493440.0,
|
| 15 |
+
"train_loss": 2.3485514322916665,
|
| 16 |
+
"train_runtime": 131.9053,
|
| 17 |
+
"train_samples_per_second": 0.318,
|
| 18 |
+
"train_steps_per_second": 0.023
|
| 19 |
}
|
| 20 |
],
|
| 21 |
"logging_steps": 1000,
|