gerald29 commited on
Commit
0493a83
1 Parent(s): 2452712

End of training

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: my_awesome_food_model
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # my_awesome_food_model
18
+
19
+ 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.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.6812
22
+ - Accuracy: 0.894
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 64
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 2.7458 | 0.992 | 62 | 2.5679 | 0.842 |
57
+ | 1.8566 | 2.0 | 125 | 1.8382 | 0.877 |
58
+ | 1.6682 | 2.976 | 186 | 1.6812 | 0.894 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.45.2
64
+ - Pytorch 2.4.1+cu121
65
+ - Datasets 3.0.1
66
+ - Tokenizers 0.20.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be1f07d676da0eb655b11580eff07c7e1c9dc816d81ad0dc98e669190164ae3e
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2836b5a8bf093a7f400e70c2b5d2a05058e481e0f9fbb97456dc66a68400329e
3
  size 343528508