flatmoon102
commited on
Commit
•
3fe1637
1
Parent(s):
64f8af4
End of training
Browse files- README.md +69 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: fruits_and_vegetables_image_classification
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# fruits_and_vegetables_image_classification
|
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 None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.3835
|
21 |
+
- Accuracy: 0.9159
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 8e-05
|
41 |
+
- train_batch_size: 32
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 10
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 87 | 1.6751 | 0.8768 |
|
53 |
+
| No log | 2.0 | 174 | 1.0260 | 0.8957 |
|
54 |
+
| No log | 3.0 | 261 | 0.6767 | 0.8957 |
|
55 |
+
| No log | 4.0 | 348 | 0.5445 | 0.8986 |
|
56 |
+
| No log | 5.0 | 435 | 0.4685 | 0.9072 |
|
57 |
+
| 0.8955 | 6.0 | 522 | 0.4328 | 0.9072 |
|
58 |
+
| 0.8955 | 7.0 | 609 | 0.4028 | 0.9 |
|
59 |
+
| 0.8955 | 8.0 | 696 | 0.3958 | 0.9145 |
|
60 |
+
| 0.8955 | 9.0 | 783 | 0.3835 | 0.9159 |
|
61 |
+
| 0.8955 | 10.0 | 870 | 0.3842 | 0.9145 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.34.0
|
67 |
+
- Pytorch 2.0.1+cu118
|
68 |
+
- Datasets 2.14.5
|
69 |
+
- Tokenizers 0.14.0
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343373293
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b08a2aa6c37e13cf08e30b8e59c06f3a8ea787a2f80437f4818a690f60a9b480
|
3 |
size 343373293
|