Model save
Browse files- README.md +25 -47
- model.safetensors +1 -1
- runs/Oct01_11-46-07_a59caee1d103/events.out.tfevents.1727783176.a59caee1d103.4704.9 +3 -0
- runs/Oct01_11-46-38_a59caee1d103/events.out.tfevents.1727783205.a59caee1d103.4704.10 +3 -0
- runs/Oct01_11-51-38_a59caee1d103/events.out.tfevents.1727783507.a59caee1d103.4704.11 +3 -0
- runs/Oct01_12-13-49_a59caee1d103/events.out.tfevents.1727784840.a59caee1d103.4704.12 +3 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -3,7 +3,6 @@ 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
|
@@ -17,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# finetuned-fake-food
|
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
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 0.
|
23 |
-
- Accuracy: 0.
|
24 |
|
25 |
## Model description
|
26 |
|
@@ -40,59 +39,38 @@ More information needed
|
|
40 |
|
41 |
The following hyperparameters were used during training:
|
42 |
- learning_rate: 0.0002
|
43 |
-
- train_batch_size:
|
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 |
-
-
|
49 |
- mixed_precision_training: Native AMP
|
50 |
|
51 |
### Training results
|
52 |
|
53 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
54 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
55 |
-
| 0.
|
56 |
-
| 0.
|
57 |
-
| 0.
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.6843 | 5.0847 | 2100 | 0.6667 | 0.5890 |
|
76 |
-
| 0.6898 | 5.3269 | 2200 | 0.6726 | 0.5822 |
|
77 |
-
| 0.6868 | 5.5690 | 2300 | 0.6784 | 0.5616 |
|
78 |
-
| 0.6636 | 5.8111 | 2400 | 0.6640 | 0.6301 |
|
79 |
-
| 0.6833 | 6.0533 | 2500 | 0.6768 | 0.5137 |
|
80 |
-
| 0.678 | 6.2954 | 2600 | 0.6652 | 0.6233 |
|
81 |
-
| 0.6672 | 6.5375 | 2700 | 0.6735 | 0.5479 |
|
82 |
-
| 0.6975 | 6.7797 | 2800 | 0.6687 | 0.5890 |
|
83 |
-
| 0.6858 | 7.0218 | 2900 | 0.6672 | 0.6027 |
|
84 |
-
| 0.6687 | 7.2639 | 3000 | 0.6648 | 0.5753 |
|
85 |
-
| 0.6636 | 7.5061 | 3100 | 0.6674 | 0.5685 |
|
86 |
-
| 0.6904 | 7.7482 | 3200 | 0.6752 | 0.5342 |
|
87 |
-
| 0.6585 | 7.9903 | 3300 | 0.7023 | 0.5959 |
|
88 |
-
| 0.6874 | 8.2324 | 3400 | 0.6615 | 0.5753 |
|
89 |
-
| 0.6444 | 8.4746 | 3500 | 0.7721 | 0.5205 |
|
90 |
-
| 0.6803 | 8.7167 | 3600 | 0.6809 | 0.5822 |
|
91 |
-
| 0.6782 | 8.9588 | 3700 | 0.6638 | 0.5822 |
|
92 |
-
| 0.6536 | 9.2010 | 3800 | 0.6607 | 0.6233 |
|
93 |
-
| 0.6188 | 9.4431 | 3900 | 0.7090 | 0.5685 |
|
94 |
-
| 0.7026 | 9.6852 | 4000 | 0.6574 | 0.6164 |
|
95 |
-
| 0.7008 | 9.9274 | 4100 | 0.6577 | 0.6096 |
|
96 |
|
97 |
|
98 |
### Framework versions
|
|
|
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 |
|
17 |
# finetuned-fake-food
|
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 an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.3455
|
22 |
+
- Accuracy: 0.8541
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
39 |
|
40 |
The following hyperparameters were used during training:
|
41 |
- learning_rate: 0.0002
|
42 |
+
- train_batch_size: 8
|
43 |
- eval_batch_size: 8
|
44 |
- seed: 42
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
+
- training_steps: 2000
|
48 |
- mixed_precision_training: Native AMP
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
54 |
+
| 0.5416 | 0.1264 | 100 | 0.5593 | 0.7081 |
|
55 |
+
| 0.5299 | 0.2528 | 200 | 0.5342 | 0.7422 |
|
56 |
+
| 0.5503 | 0.3793 | 300 | 0.4875 | 0.7717 |
|
57 |
+
| 0.5561 | 0.5057 | 400 | 0.4622 | 0.7941 |
|
58 |
+
| 0.5581 | 0.6321 | 500 | 0.5501 | 0.7457 |
|
59 |
+
| 0.5845 | 0.7585 | 600 | 0.5088 | 0.7475 |
|
60 |
+
| 0.5695 | 0.8850 | 700 | 0.4740 | 0.7860 |
|
61 |
+
| 0.5406 | 1.0114 | 800 | 0.4856 | 0.7816 |
|
62 |
+
| 0.5353 | 1.1378 | 900 | 0.4252 | 0.8156 |
|
63 |
+
| 0.5345 | 1.2642 | 1000 | 0.5014 | 0.7762 |
|
64 |
+
| 0.5105 | 1.3906 | 1100 | 0.4800 | 0.7860 |
|
65 |
+
| 0.5266 | 1.5171 | 1200 | 0.4618 | 0.7959 |
|
66 |
+
| 0.4709 | 1.6435 | 1300 | 0.3906 | 0.8281 |
|
67 |
+
| 0.4624 | 1.7699 | 1400 | 0.4208 | 0.8129 |
|
68 |
+
| 0.4677 | 1.8963 | 1500 | 0.4207 | 0.8174 |
|
69 |
+
| 0.4478 | 2.0228 | 1600 | 0.3557 | 0.8478 |
|
70 |
+
| 0.4451 | 2.1492 | 1700 | 0.3546 | 0.8442 |
|
71 |
+
| 0.3796 | 2.2756 | 1800 | 0.3199 | 0.8720 |
|
72 |
+
| 0.4358 | 2.4020 | 1900 | 0.3308 | 0.8603 |
|
73 |
+
| 0.3373 | 2.5284 | 2000 | 0.3455 | 0.8541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
|
76 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ea877a6b7f6eda3773b42ff1dd9ba49292e95c4fef1339a50afaee39b996af1
|
3 |
size 343223968
|
runs/Oct01_11-46-07_a59caee1d103/events.out.tfevents.1727783176.a59caee1d103.4704.9
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd5a71d3addc17a2bfc637beff12d04fed308b53fa88483782dbb9ca4fe7f9d8
|
3 |
+
size 4874
|
runs/Oct01_11-46-38_a59caee1d103/events.out.tfevents.1727783205.a59caee1d103.4704.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:426788332634314b561e1aed92d8d39501c325e030ebc4b19d178a7024172586
|
3 |
+
size 5659
|
runs/Oct01_11-51-38_a59caee1d103/events.out.tfevents.1727783507.a59caee1d103.4704.11
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3643ed9e97ceee428e3410c588509b8e362c13095812df793e6b8f820af9ab7
|
3 |
+
size 9764
|
runs/Oct01_12-13-49_a59caee1d103/events.out.tfevents.1727784840.a59caee1d103.4704.12
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8155b68c6d1242d71e782d69e3385157bf99fed18d4649fe80ca46c7e126c558
|
3 |
+
size 15992
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dff082020ef725b95702987c72700717daa69dc65c543eca57e94965c646aa58
|
3 |
size 5176
|