Leotrim commited on
Commit
7ad8576
1 Parent(s): 4ba8ff9

End of training

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: food101_vit_model
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/raspuntinov_ai/huggingface/runs/26tpizu2)
20
+ # food101_vit_model
21
+
22
+ 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.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.7311
25
+ - Accuracy: 0.8536
26
+ - Precision: 0.8531
27
+ - Recall: 0.8536
28
+ - F1: 0.8529
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 4
52
+ - total_train_batch_size: 64
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_ratio: 0.1
56
+ - num_epochs: 3
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
62
+ | 1.726 | 0.9994 | 1183 | 1.4984 | 0.7974 | 0.8021 | 0.7974 | 0.7906 |
63
+ | 0.9996 | 1.9996 | 2367 | 0.8596 | 0.8417 | 0.8430 | 0.8417 | 0.8413 |
64
+ | 0.8383 | 2.9981 | 3549 | 0.7311 | 0.8536 | 0.8531 | 0.8536 | 0.8529 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.42.3
70
+ - Pytorch 2.1.2
71
+ - Datasets 2.20.0
72
+ - Tokenizers 0.19.1