TirathP/custom_finetuned_vit
Browse files- README.md +26 -2
- all_results.json +14 -0
- eval_results.json +9 -0
- runs/Feb01_05-55-23_b6a4cb5abd69/events.out.tfevents.1706766997.b6a4cb5abd69.693.3 +3 -0
- train_results.json +8 -0
- trainer_state.json +30 -0
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: Model
|
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 |
# Model
|
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: Model
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Image Classification
|
17 |
+
type: image-classification
|
18 |
+
dataset:
|
19 |
+
name: custom
|
20 |
+
type: imagefolder
|
21 |
+
config: default
|
22 |
+
split: train
|
23 |
+
args: default
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.42857142857142855
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.3151515151515151
|
31 |
---
|
32 |
|
33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
35 |
|
36 |
# Model
|
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.
|
39 |
+
It achieves the following results on the evaluation set:
|
40 |
+
- Loss: 1.3328
|
41 |
+
- Accuracy: 0.4286
|
42 |
+
- F1: 0.3152
|
43 |
|
44 |
## Model description
|
45 |
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.42857142857142855,
|
4 |
+
"eval_f1": 0.3151515151515151,
|
5 |
+
"eval_loss": 1.3327875137329102,
|
6 |
+
"eval_runtime": 8.6145,
|
7 |
+
"eval_samples_per_second": 1.625,
|
8 |
+
"eval_steps_per_second": 0.232,
|
9 |
+
"total_flos": 3254926098493440.0,
|
10 |
+
"train_loss": 1.865134557088216,
|
11 |
+
"train_runtime": 21.8909,
|
12 |
+
"train_samples_per_second": 1.919,
|
13 |
+
"train_steps_per_second": 0.137
|
14 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.42857142857142855,
|
4 |
+
"eval_f1": 0.3151515151515151,
|
5 |
+
"eval_loss": 1.3327875137329102,
|
6 |
+
"eval_runtime": 8.6145,
|
7 |
+
"eval_samples_per_second": 1.625,
|
8 |
+
"eval_steps_per_second": 0.232
|
9 |
+
}
|
runs/Feb01_05-55-23_b6a4cb5abd69/events.out.tfevents.1706766997.b6a4cb5abd69.693.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b704cd550eef9f73ca68cb1e44ec26bfb7c634b1ec5e5c21d457d336ec4026d0
|
3 |
+
size 450
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 3254926098493440.0,
|
4 |
+
"train_loss": 1.865134557088216,
|
5 |
+
"train_runtime": 21.8909,
|
6 |
+
"train_samples_per_second": 1.919,
|
7 |
+
"train_steps_per_second": 0.137
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 3,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 3.0,
|
13 |
+
"step": 3,
|
14 |
+
"total_flos": 3254926098493440.0,
|
15 |
+
"train_loss": 1.865134557088216,
|
16 |
+
"train_runtime": 21.8909,
|
17 |
+
"train_samples_per_second": 1.919,
|
18 |
+
"train_steps_per_second": 0.137
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"logging_steps": 1000,
|
22 |
+
"max_steps": 3,
|
23 |
+
"num_input_tokens_seen": 0,
|
24 |
+
"num_train_epochs": 3,
|
25 |
+
"save_steps": 1000,
|
26 |
+
"total_flos": 3254926098493440.0,
|
27 |
+
"train_batch_size": 32,
|
28 |
+
"trial_name": null,
|
29 |
+
"trial_params": null
|
30 |
+
}
|