zazazaChiang
commited on
Commit
•
c130db3
1
Parent(s):
3e44ef2
End of training
Browse files- README.md +5 -3
- all_results.json +7 -7
- config.json +1 -0
- eval_results.json +3 -3
- train_results.json +4 -4
- trainer_state.json +4 -4
README.md
CHANGED
@@ -3,6 +3,8 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
metrics:
|
8 |
- accuracy
|
@@ -16,10 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# vit-base-beans
|
18 |
|
19 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
-
|
22 |
-
-
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
6 |
+
- image-classification
|
7 |
+
- vision
|
8 |
- generated_from_trainer
|
9 |
metrics:
|
10 |
- accuracy
|
|
|
18 |
|
19 |
# vit-base-beans
|
20 |
|
21 |
+
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 beans dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0667
|
24 |
+
- Accuracy: 0.9925
|
25 |
|
26 |
## Model description
|
27 |
|
all_results.json
CHANGED
@@ -2,12 +2,12 @@
|
|
2 |
"epoch": 5.0,
|
3 |
"eval_accuracy": 0.9924812030075187,
|
4 |
"eval_loss": 0.0667242482304573,
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
"total_flos": 4.006371770595533e+17,
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second":
|
12 |
-
"train_steps_per_second":
|
13 |
}
|
|
|
2 |
"epoch": 5.0,
|
3 |
"eval_accuracy": 0.9924812030075187,
|
4 |
"eval_loss": 0.0667242482304573,
|
5 |
+
"eval_runtime": 6.5358,
|
6 |
+
"eval_samples_per_second": 20.35,
|
7 |
+
"eval_steps_per_second": 2.601,
|
8 |
"total_flos": 4.006371770595533e+17,
|
9 |
+
"train_loss": 0.0,
|
10 |
+
"train_runtime": 0.3159,
|
11 |
+
"train_samples_per_second": 16363.748,
|
12 |
+
"train_steps_per_second": 2057.338
|
13 |
}
|
config.json
CHANGED
@@ -28,6 +28,7 @@
|
|
28 |
"num_channels": 3,
|
29 |
"num_hidden_layers": 12,
|
30 |
"patch_size": 16,
|
|
|
31 |
"qkv_bias": true,
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.44.2"
|
|
|
28 |
"num_channels": 3,
|
29 |
"num_hidden_layers": 12,
|
30 |
"patch_size": 16,
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
"qkv_bias": true,
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.44.2"
|
eval_results.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"epoch": 5.0,
|
3 |
"eval_accuracy": 0.9924812030075187,
|
4 |
"eval_loss": 0.0667242482304573,
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
2 |
"epoch": 5.0,
|
3 |
"eval_accuracy": 0.9924812030075187,
|
4 |
"eval_loss": 0.0667242482304573,
|
5 |
+
"eval_runtime": 6.5358,
|
6 |
+
"eval_samples_per_second": 20.35,
|
7 |
+
"eval_steps_per_second": 2.601
|
8 |
}
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
"total_flos": 4.006371770595533e+17,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
"epoch": 5.0,
|
3 |
"total_flos": 4.006371770595533e+17,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.3159,
|
6 |
+
"train_samples_per_second": 16363.748,
|
7 |
+
"train_steps_per_second": 2057.338
|
8 |
}
|
trainer_state.json
CHANGED
@@ -512,10 +512,10 @@
|
|
512 |
"epoch": 5.0,
|
513 |
"step": 650,
|
514 |
"total_flos": 4.006371770595533e+17,
|
515 |
-
"train_loss": 0.
|
516 |
-
"train_runtime":
|
517 |
-
"train_samples_per_second":
|
518 |
-
"train_steps_per_second":
|
519 |
}
|
520 |
],
|
521 |
"logging_steps": 10,
|
|
|
512 |
"epoch": 5.0,
|
513 |
"step": 650,
|
514 |
"total_flos": 4.006371770595533e+17,
|
515 |
+
"train_loss": 0.0,
|
516 |
+
"train_runtime": 0.3159,
|
517 |
+
"train_samples_per_second": 16363.748,
|
518 |
+
"train_steps_per_second": 2057.338
|
519 |
}
|
520 |
],
|
521 |
"logging_steps": 10,
|