jwt2706 commited on
Commit
f5ad972
1 Parent(s): 06c0b6a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 1.6079
21
+ - Accuracy: 0.892
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: 3
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 2.7263 | 0.99 | 62 | 2.5435 | 0.816 |
56
+ | 1.8437 | 2.0 | 125 | 1.7773 | 0.863 |
57
+ | 1.5811 | 2.98 | 186 | 1.6079 | 0.892 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.38.2
63
+ - Pytorch 2.1.0+cu121
64
+ - Datasets 2.18.0
65
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6744cb287a6894ba5a02599e7d98344b4fa912c40ac284d6eb986683121e608
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78970dd151cad3d2d72aa45bbcc8c74e5f00e09d3b8c2501877d12a7b1273de3
3
  size 343528508
runs/Mar05_13-39-09_f91b802cdf23/events.out.tfevents.1709645950.f91b802cdf23.566.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:00cc268cc656fdc3a6ec2303e092bcdafb90c9b6edb7e363c6f031565b09bc2a
3
- size 11034
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d5ad26e5ac7a3e4c058896038aff6464f75c44288d61742bff2160b127d890b
3
+ size 14536