spolivin commited on
Commit
93d78fc
1 Parent(s): ae8b35c

End of training

Browse files
Files changed (2) hide show
  1. README.md +67 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: food-vit-tutorial
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
+ # food-vit-tutorial
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.0267
21
+ - Accuracy: 0.916
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: 5
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
+ | 2.7889 | 0.99 | 62 | 2.5577 | 0.838 |
56
+ | 1.7142 | 2.0 | 125 | 1.6126 | 0.879 |
57
+ | 1.2887 | 2.99 | 187 | 1.2513 | 0.903 |
58
+ | 1.0307 | 4.0 | 250 | 1.0673 | 0.922 |
59
+ | 1.0022 | 4.96 | 310 | 1.0267 | 0.916 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.35.2
65
+ - Pytorch 2.1.0+cu121
66
+ - Datasets 2.16.1
67
+ - Tokenizers 0.15.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab74a47a793e1f241fecb4efab3c7711ada188d78b022ca9822e53b7d5c34087
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97ccc141b50f9dca553b8c84709cd081215e02b8e358eddfd97453bf5c16c1ea
3
  size 343528508