End of training
Browse files- README.md +4 -2
- all_results.json +7 -7
- config.json +1 -0
- eval_results.json +3 -3
- train_results.json +4 -4
- trainer_state.json +6 -6
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 |
-
- Accuracy: 1.0
|
| 22 |
- Loss: 0.0079
|
|
|
|
| 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.0079
|
| 24 |
+
- Accuracy: 1.0
|
| 25 |
|
| 26 |
## Model description
|
| 27 |
|
all_results.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
"epoch": 50.0,
|
| 3 |
"eval_accuracy": 1.0,
|
| 4 |
"eval_loss": 0.007947824895381927,
|
| 5 |
-
"eval_runtime": 0.
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second":
|
| 8 |
"total_flos": 3.6243328994998477e+18,
|
| 9 |
-
"train_loss": 0.
|
| 10 |
-
"train_runtime":
|
| 11 |
-
"train_samples_per_second":
|
| 12 |
-
"train_steps_per_second":
|
| 13 |
}
|
|
|
|
| 2 |
"epoch": 50.0,
|
| 3 |
"eval_accuracy": 1.0,
|
| 4 |
"eval_loss": 0.007947824895381927,
|
| 5 |
+
"eval_runtime": 0.7147,
|
| 6 |
+
"eval_samples_per_second": 186.093,
|
| 7 |
+
"eval_steps_per_second": 12.593,
|
| 8 |
"total_flos": 3.6243328994998477e+18,
|
| 9 |
+
"train_loss": 0.0,
|
| 10 |
+
"train_runtime": 0.0797,
|
| 11 |
+
"train_samples_per_second": 38914.671,
|
| 12 |
+
"train_steps_per_second": 2446.28
|
| 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.45.0.dev0"
|
|
|
|
| 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.45.0.dev0"
|
eval_results.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"epoch": 50.0,
|
| 3 |
"eval_accuracy": 1.0,
|
| 4 |
"eval_loss": 0.007947824895381927,
|
| 5 |
-
"eval_runtime": 0.
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second":
|
| 8 |
}
|
|
|
|
| 2 |
"epoch": 50.0,
|
| 3 |
"eval_accuracy": 1.0,
|
| 4 |
"eval_loss": 0.007947824895381927,
|
| 5 |
+
"eval_runtime": 0.7147,
|
| 6 |
+
"eval_samples_per_second": 186.093,
|
| 7 |
+
"eval_steps_per_second": 12.593
|
| 8 |
}
|
train_results.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"epoch": 50.0,
|
| 3 |
"total_flos": 3.6243328994998477e+18,
|
| 4 |
-
"train_loss": 0.
|
| 5 |
-
"train_runtime":
|
| 6 |
-
"train_samples_per_second":
|
| 7 |
-
"train_steps_per_second":
|
| 8 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"epoch": 50.0,
|
| 3 |
"total_flos": 3.6243328994998477e+18,
|
| 4 |
+
"train_loss": 0.0,
|
| 5 |
+
"train_runtime": 0.0797,
|
| 6 |
+
"train_samples_per_second": 38914.671,
|
| 7 |
+
"train_steps_per_second": 2446.28
|
| 8 |
}
|
trainer_state.json
CHANGED
|
@@ -2692,16 +2692,16 @@
|
|
| 2692 |
"epoch": 50.0,
|
| 2693 |
"step": 3250,
|
| 2694 |
"total_flos": 3.6243328994998477e+18,
|
| 2695 |
-
"train_loss": 0.
|
| 2696 |
-
"train_runtime":
|
| 2697 |
-
"train_samples_per_second":
|
| 2698 |
-
"train_steps_per_second":
|
| 2699 |
}
|
| 2700 |
],
|
| 2701 |
"logging_steps": 10,
|
| 2702 |
-
"max_steps":
|
| 2703 |
"num_input_tokens_seen": 0,
|
| 2704 |
-
"num_train_epochs":
|
| 2705 |
"save_steps": 500,
|
| 2706 |
"stateful_callbacks": {
|
| 2707 |
"TrainerControl": {
|
|
|
|
| 2692 |
"epoch": 50.0,
|
| 2693 |
"step": 3250,
|
| 2694 |
"total_flos": 3.6243328994998477e+18,
|
| 2695 |
+
"train_loss": 0.0,
|
| 2696 |
+
"train_runtime": 0.0797,
|
| 2697 |
+
"train_samples_per_second": 38914.671,
|
| 2698 |
+
"train_steps_per_second": 2446.28
|
| 2699 |
}
|
| 2700 |
],
|
| 2701 |
"logging_steps": 10,
|
| 2702 |
+
"max_steps": 195,
|
| 2703 |
"num_input_tokens_seen": 0,
|
| 2704 |
+
"num_train_epochs": 3,
|
| 2705 |
"save_steps": 500,
|
| 2706 |
"stateful_callbacks": {
|
| 2707 |
"TrainerControl": {
|