Modelo para clasificar hojas de frejol
Browse files
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: google/vit-base-patch16-224-in21k
|
5 |
+
tags:
|
6 |
+
- image-classification
|
7 |
+
- generated_from_trainer
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: vit-model-upeu_sistemas_v2
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# vit-model-upeu_sistemas_v2
|
19 |
+
|
20 |
+
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 AI-Lab-Makerere/beans dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.0550
|
23 |
+
- Accuracy: 0.9850
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 4
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
54 |
+
| 0.1264 | 3.8462 | 500 | 0.0550 | 0.9850 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.44.2
|
60 |
+
- Pytorch 2.5.0+cu121
|
61 |
+
- Datasets 3.0.2
|
62 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.9849624060150376,
|
4 |
+
"eval_loss": 0.054959025233983994,
|
5 |
+
"eval_runtime": 2.4426,
|
6 |
+
"eval_samples_per_second": 54.449,
|
7 |
+
"eval_steps_per_second": 6.96,
|
8 |
+
"total_flos": 3.205097416476426e+17,
|
9 |
+
"train_loss": 0.12177124903179132,
|
10 |
+
"train_runtime": 205.4405,
|
11 |
+
"train_samples_per_second": 20.132,
|
12 |
+
"train_steps_per_second": 2.531
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.9849624060150376,
|
4 |
+
"eval_loss": 0.054959025233983994,
|
5 |
+
"eval_runtime": 2.4426,
|
6 |
+
"eval_samples_per_second": 54.449,
|
7 |
+
"eval_steps_per_second": 6.96
|
8 |
+
}
|
runs/Oct28_17-46-40_7df710cc28e4/events.out.tfevents.1730137641.7df710cc28e4.6103.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbdbf7d5012fd93f61332e728b0601ec74c639afdf252897a9f23bf0d3a88663
|
3 |
+
size 5903
|
runs/Oct28_17-46-40_7df710cc28e4/events.out.tfevents.1730137874.7df710cc28e4.6103.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d23113c50292a8d891ce1725f7fecde5aa0c19a034fd00eba36930f30fc6df1
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"total_flos": 3.205097416476426e+17,
|
4 |
+
"train_loss": 0.12177124903179132,
|
5 |
+
"train_runtime": 205.4405,
|
6 |
+
"train_samples_per_second": 20.132,
|
7 |
+
"train_steps_per_second": 2.531
|
8 |
+
}
|