ismgar01 commited on
Commit
2036333
1 Parent(s): 93d58c8

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - image-classification
5
+ - generated_from_trainer
6
+ datasets:
7
+ - cats_vs_dogs
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: vit-base-cats-vs-dogs
12
+ results:
13
+ - task:
14
+ name: Image Classification
15
+ type: image-classification
16
+ dataset:
17
+ name: cats_vs_dogs
18
+ type: cats_vs_dogs
19
+ args: default
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.9937357630979499
24
+ ---
25
+
26
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
27
+ should probably proofread and complete it, then remove this comment. -->
28
+
29
+ # vit-base-cats-vs-dogs
30
+
31
+ 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 cats_vs_dogs dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.0182
34
+ - Accuracy: 0.9937
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 0.0002
54
+ - train_batch_size: 32
55
+ - eval_batch_size: 32
56
+ - seed: 1337
57
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
58
+ - lr_scheduler_type: linear
59
+ - num_epochs: 5.0
60
+ - mixed_precision_training: Native AMP
61
+
62
+ ### Training results
63
+
64
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
65
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
66
+ | 0.1177 | 1.0 | 622 | 0.0473 | 0.9832 |
67
+ | 0.057 | 2.0 | 1244 | 0.0362 | 0.9883 |
68
+ | 0.0449 | 3.0 | 1866 | 0.0261 | 0.9886 |
69
+ | 0.066 | 4.0 | 2488 | 0.0248 | 0.9923 |
70
+ | 0.0328 | 5.0 | 3110 | 0.0182 | 0.9937 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.13.0.dev0
76
+ - Pytorch 1.8.1+cu111
77
+ - Datasets 1.15.1
78
+ - Tokenizers 0.10.3