siddharth963 commited on
Commit
a754b09
1 Parent(s): dc282e8

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -11
README.md CHANGED
@@ -3,7 +3,7 @@ license: apache-2.0
3
  tags:
4
  - generated_from_trainer
5
  datasets:
6
- - Cassava-Leaf-Disease-Classification
7
  metrics:
8
  - accuracy
9
  model-index:
@@ -13,13 +13,13 @@ model-index:
13
  name: Image Classification
14
  type: image-classification
15
  dataset:
16
- name: image-folder
17
  type: image_folder
18
  args: default
19
  metrics:
20
  - name: Accuracy
21
  type: accuracy
22
- value: 0.872196261682243
23
  ---
24
 
25
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -27,10 +27,10 @@ should probably proofread and complete it, then remove this comment. -->
27
 
28
  # vit-base-patch16-224-in21k-finetuned-cassava
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 Cassava-Leaf-Disease-Classification dataset.
31
  It achieves the following results on the evaluation set:
32
- - Loss: 0.4011
33
- - Accuracy: 0.8722
34
 
35
  ## Model description
36
 
@@ -58,20 +58,27 @@ The following hyperparameters were used during training:
58
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
  - lr_scheduler_type: linear
60
  - lr_scheduler_warmup_ratio: 0.1
61
- - num_epochs: 3
62
 
63
  ### Training results
64
 
65
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
- | 0.5242 | 0.99 | 133 | 0.4905 | 0.8502 |
68
- | 0.4405 | 1.99 | 266 | 0.4154 | 0.8696 |
69
- | 0.3938 | 2.99 | 399 | 0.4011 | 0.8722 |
 
 
 
 
 
 
 
70
 
71
 
72
  ### Framework versions
73
 
74
  - Transformers 4.20.1
75
- - PyTorch 1.11.0
76
  - Datasets 2.1.0
77
  - Tokenizers 0.12.1
 
3
  tags:
4
  - generated_from_trainer
5
  datasets:
6
+ - image_folder
7
  metrics:
8
  - accuracy
9
  model-index:
 
13
  name: Image Classification
14
  type: image-classification
15
  dataset:
16
+ name: image_folder
17
  type: image_folder
18
  args: default
19
  metrics:
20
  - name: Accuracy
21
  type: accuracy
22
+ value: 0.8558411214953271
23
  ---
24
 
25
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
27
 
28
  # vit-base-patch16-224-in21k-finetuned-cassava
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 image_folder dataset.
31
  It achieves the following results on the evaluation set:
32
+ - Loss: 0.5053
33
+ - Accuracy: 0.8558
34
 
35
  ## Model description
36
 
 
58
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
  - lr_scheduler_type: linear
60
  - lr_scheduler_warmup_ratio: 0.1
61
+ - num_epochs: 10
62
 
63
  ### Training results
64
 
65
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 0.5832 | 0.99 | 133 | 0.5485 | 0.8299 |
68
+ | 0.4638 | 1.99 | 266 | 0.4436 | 0.8575 |
69
+ | 0.3115 | 2.99 | 399 | 0.4173 | 0.8645 |
70
+ | 0.2926 | 3.99 | 532 | 0.4475 | 0.8477 |
71
+ | 0.2127 | 4.99 | 665 | 0.4497 | 0.8575 |
72
+ | 0.1934 | 5.99 | 798 | 0.4548 | 0.8582 |
73
+ | 0.1777 | 6.99 | 931 | 0.4680 | 0.8561 |
74
+ | 0.1187 | 7.99 | 1064 | 0.4880 | 0.8591 |
75
+ | 0.0801 | 8.99 | 1197 | 0.5014 | 0.8556 |
76
+ | 0.088 | 9.99 | 1330 | 0.5053 | 0.8558 |
77
 
78
 
79
  ### Framework versions
80
 
81
  - Transformers 4.20.1
82
+ - Pytorch 1.11.0
83
  - Datasets 2.1.0
84
  - Tokenizers 0.12.1