ivandrian11 commited on
Commit
93b358c
1 Parent(s): 34daf3b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imagefolder
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: fruit-classifier
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.9578313253012049
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
+ # fruit-classifier
32
+
33
+ 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 imagefolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.1607
36
+ - Accuracy: 0.9578
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: 5e-05
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: linear
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
+ | 0.0148 | 2.38 | 100 | 0.2595 | 0.9398 |
69
+ | 0.0093 | 4.76 | 200 | 0.1748 | 0.9578 |
70
+ | 0.0176 | 7.14 | 300 | 0.1516 | 0.9699 |
71
+ | 0.0046 | 9.52 | 400 | 0.1606 | 0.9578 |
72
+
73
+
74
+ ### Framework versions
75
+
76
+ - Transformers 4.38.2
77
+ - Pytorch 2.2.1+cu121
78
+ - Datasets 2.18.0
79
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2f2e74b0cd588fd9378958214cd279a063784aa74ab4d61cb28b9b1b73475d05
3
  size 343310104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f6319b80b70fd9bb74184f62e93c30fe1c8e622f61918fe9575b6abe94a693d
3
  size 343310104
runs/Mar28_15-23-09_1d08d0d5db4b/events.out.tfevents.1711639392.1d08d0d5db4b.548.16 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5175466c3d45369129ab677311dac4c7c842dcbed7d1748fcf19dbfda30c09ae
3
+ size 8368
runs/Mar28_15-23-09_1d08d0d5db4b/events.out.tfevents.1711639669.1d08d0d5db4b.548.17 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e1b6280f846b441e601ae0ad83487c413b1047f9db1cc0cb045c7793d3edb4d
3
+ size 411
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51fcbe086f9d9f40843484fc31eef0cfb1f88765f4f52a6dd52fa9c704c1c913
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c3a11db466a0d11fc6f68aa411d11b8d3a984231bebdd890635b0c2fbcbdba0
3
  size 4856