Ahmed9275 commited on
Commit
8991268
1 Parent(s): 3ab0865

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +76 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - cifar100
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: vit-base-beans-demo-v5
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ dataset:
16
+ name: cifar100
17
+ type: cifar100
18
+ args: cifar100
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.8985
23
+ ---
24
+
25
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
26
+ should probably proofread and complete it, then remove this comment. -->
27
+
28
+ # vit-base-beans-demo-v5
29
+
30
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the cifar100 dataset.
31
+ It achieves the following results on the evaluation set:
32
+ - Loss: 0.4420
33
+ - Accuracy: 0.8985
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 0.0002
53
+ - train_batch_size: 16
54
+ - eval_batch_size: 8
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 4
59
+ - mixed_precision_training: Native AMP
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
64
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
65
+ | 1.08 | 1.0 | 3125 | 0.6196 | 0.8262 |
66
+ | 0.3816 | 2.0 | 6250 | 0.5322 | 0.8555 |
67
+ | 0.1619 | 3.0 | 9375 | 0.4817 | 0.8765 |
68
+ | 0.0443 | 4.0 | 12500 | 0.4420 | 0.8985 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.19.2
74
+ - Pytorch 1.11.0+cu113
75
+ - Datasets 2.2.1
76
+ - Tokenizers 0.12.1