EloiCampeny
commited on
Commit
•
ce33fec
1
Parent(s):
01a5001
first image-classification model with hugging face done
Browse files- README.md +20 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- train_results.json +8 -0
README.md
CHANGED
@@ -2,12 +2,28 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- beans
|
|
|
|
|
8 |
model-index:
|
9 |
- name: platzi-vit-model-eloi-campeny
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -16,6 +32,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
# platzi-vit-model-eloi-campeny
|
17 |
|
18 |
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.
|
|
|
|
|
|
|
19 |
|
20 |
## Model description
|
21 |
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
+
- image-classification
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- beans
|
9 |
+
metrics:
|
10 |
+
- accuracy
|
11 |
model-index:
|
12 |
- name: platzi-vit-model-eloi-campeny
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Image Classification
|
16 |
+
type: image-classification
|
17 |
+
dataset:
|
18 |
+
name: beans
|
19 |
+
type: beans
|
20 |
+
config: default
|
21 |
+
split: validation
|
22 |
+
args: default
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.9849624060150376
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
# platzi-vit-model-eloi-campeny
|
33 |
|
34 |
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.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.0479
|
37 |
+
- Accuracy: 0.9850
|
38 |
|
39 |
## Model description
|
40 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_accuracy": 0.9849624060150376,
|
4 |
+
"eval_loss": 0.04787198454141617,
|
5 |
+
"eval_runtime": 20.3077,
|
6 |
+
"eval_samples_per_second": 6.549,
|
7 |
+
"eval_steps_per_second": 0.837,
|
8 |
+
"total_flos": 8.012743541191066e+16,
|
9 |
+
"train_loss": 0.13243921720064603,
|
10 |
+
"train_runtime": 482.5243,
|
11 |
+
"train_samples_per_second": 2.143,
|
12 |
+
"train_steps_per_second": 0.269
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_accuracy": 0.9849624060150376,
|
4 |
+
"eval_loss": 0.04787198454141617,
|
5 |
+
"eval_runtime": 20.3077,
|
6 |
+
"eval_samples_per_second": 6.549,
|
7 |
+
"eval_steps_per_second": 0.837
|
8 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 8.012743541191066e+16,
|
4 |
+
"train_loss": 0.13243921720064603,
|
5 |
+
"train_runtime": 482.5243,
|
6 |
+
"train_samples_per_second": 2.143,
|
7 |
+
"train_steps_per_second": 0.269
|
8 |
+
}
|