Sa3ed99 commited on
Commit
a88d37a
·
verified ·
1 Parent(s): 4a49621

End of training

Browse files
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: my_awesome_food_model
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
+ # my_awesome_food_model
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 an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4788
21
+ - Accuracy: 0.918
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
+ | 1.2354 | 0.992 | 62 | 1.2067 | 0.913 |
56
+ | 0.8106 | 2.0 | 125 | 0.8617 | 0.917 |
57
+ | 0.6279 | 2.992 | 187 | 0.6817 | 0.915 |
58
+ | 0.5143 | 4.0 | 250 | 0.5720 | 0.92 |
59
+ | 0.4102 | 4.992 | 312 | 0.4917 | 0.935 |
60
+ | 0.3593 | 6.0 | 375 | 0.4655 | 0.928 |
61
+ | 0.3556 | 6.944 | 434 | 0.4788 | 0.918 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.40.2
67
+ - Pytorch 2.2.1+cu121
68
+ - Datasets 2.19.1
69
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f78260769f5a548d9430ea35f23bb76b08ce3e82fb5f17624e782f3f6f6254b1
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1ac460fdedb49634239de81a74c3c558fd0da988c6975911d2851c72d8cc1e2
3
  size 343528508
runs/May14_09-46-30_7ea86bea5067/events.out.tfevents.1715679991.7ea86bea5067.833.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6d3a6af4a022952925ac5d28c3456d8973e7508152998931b8d32ce176c46b8
3
- size 19362
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:724b5517b7c1f7887bfc8f9513ef69c084e51bbc3b922f4971a75a54b352961f
3
+ size 21305