Commit
•
624e16b
1
Parent(s):
5a0958c
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: minang_food_classification
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Image Classification
|
15 |
+
type: image-classification
|
16 |
+
dataset:
|
17 |
+
name: imagefolder
|
18 |
+
type: imagefolder
|
19 |
+
config: default
|
20 |
+
split: train
|
21 |
+
args: default
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.4388888888888889
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# minang_food_classification
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.8248
|
36 |
+
- Accuracy: 0.4389
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 1e-06
|
56 |
+
- train_batch_size: 16
|
57 |
+
- eval_batch_size: 16
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: cosine_with_restarts
|
61 |
+
- num_epochs: 10
|
62 |
+
- mixed_precision_training: Native AMP
|
63 |
+
|
64 |
+
### Training results
|
65 |
+
|
66 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
+
| 2.2338 | 1.0 | 45 | 2.1647 | 0.1944 |
|
69 |
+
| 2.1439 | 2.0 | 90 | 2.0883 | 0.2389 |
|
70 |
+
| 2.0449 | 3.0 | 135 | 2.0265 | 0.2667 |
|
71 |
+
| 1.9851 | 4.0 | 180 | 1.9385 | 0.3444 |
|
72 |
+
| 1.9242 | 5.0 | 225 | 1.8869 | 0.3944 |
|
73 |
+
| 1.8745 | 6.0 | 270 | 1.8432 | 0.4444 |
|
74 |
+
| 1.831 | 7.0 | 315 | 1.8211 | 0.4556 |
|
75 |
+
| 1.8017 | 8.0 | 360 | 1.8302 | 0.45 |
|
76 |
+
| 1.8078 | 9.0 | 405 | 1.8164 | 0.45 |
|
77 |
+
| 1.7895 | 10.0 | 450 | 1.7973 | 0.4556 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.38.2
|
83 |
+
- Pytorch 2.2.1+cu121
|
84 |
+
- Datasets 2.18.0
|
85 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343245508
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67b796c0d3539521aa2ea0f0d96a05a9674876182894420c73b929de037faf60
|
3 |
size 343245508
|
runs/Mar17_11-30-54_3136dc9f316a/events.out.tfevents.1710675054.3136dc9f316a.256.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:ad0a6cfd0a495b76bd647d9d7694f1543bb27c133f29c18f48b857c076090ff0
|
3 |
+
size 10706
|
runs/Mar17_11-30-54_3136dc9f316a/events.out.tfevents.1710675320.3136dc9f316a.256.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37353ef93339d678552eaae0c36d3507ceae32d16298d020d5f9ca3c2d8792f3
|
3 |
+
size 411
|