PedroSampaio commited on
Commit
c431127
1 Parent(s): e02d55f

Model save

Browse files
Files changed (2) hide show
  1. README.md +69 -0
  2. 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
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: vit-base-patch16-224-fruits-360-16-7
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
+ # vit-base-patch16-224-fruits-360-16-7
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0011
21
+ - Accuracy: 0.9996
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: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 64
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 7
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 0.04 | 1.0 | 1057 | 0.0216 | 0.9953 |
56
+ | 0.0053 | 2.0 | 2115 | 0.0081 | 0.9974 |
57
+ | 0.0252 | 3.0 | 3173 | 0.0043 | 0.9991 |
58
+ | 0.0221 | 4.0 | 4231 | 0.0038 | 0.9991 |
59
+ | 0.0116 | 5.0 | 5288 | 0.0010 | 1.0 |
60
+ | 0.0014 | 6.0 | 6346 | 0.0013 | 0.9997 |
61
+ | 0.0003 | 7.0 | 7399 | 0.0011 | 0.9996 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.34.1
67
+ - Pytorch 2.1.0+cu118
68
+ - Datasets 2.14.6
69
+ - Tokenizers 0.14.1
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5315198b56ad5cb75425945bedde902518fb81bd5cd2e1f6535f96b69be5c36a
3
  size 343610602
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a34cb8236e299ecbba2b21e9f4f59a2f8b579cf24ce5fa81830dbd037a2e4cb7
3
  size 343610602