ayoubkirouane commited on
Commit
96db011
1 Parent(s): a773c0b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -39
README.md CHANGED
@@ -25,40 +25,25 @@ model-index:
25
  value: 1.0
26
  ---
27
 
28
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
- should probably proofread and complete it, then remove this comment. -->
30
-
31
- # vit-base-beans-demo-v5
32
-
33
- 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 beans dataset.
34
- It achieves the following results on the evaluation set:
35
- - Loss: 0.0155
36
- - Accuracy: 1.0
37
-
38
- ## Model description
39
-
40
- More information needed
41
-
42
- ## Intended uses & limitations
43
-
44
- More information needed
45
-
46
- ## Training and evaluation data
47
-
48
- More information needed
49
-
50
- ## Training procedure
51
-
52
- ### Training hyperparameters
53
-
54
- The following hyperparameters were used during training:
55
- - learning_rate: 0.0002
56
- - train_batch_size: 16
57
- - eval_batch_size: 8
58
- - seed: 42
59
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
- - lr_scheduler_type: linear
61
- - num_epochs: 4
62
 
63
  ### Training results
64
 
@@ -67,10 +52,10 @@ The following hyperparameters were used during training:
67
  | 0.1495 | 1.54 | 100 | 0.0910 | 0.9774 |
68
  | 0.0121 | 3.08 | 200 | 0.0155 | 1.0 |
69
 
 
 
 
 
 
70
 
71
- ### Framework versions
72
 
73
- - Transformers 4.33.2
74
- - Pytorch 2.0.1+cu118
75
- - Datasets 2.14.5
76
- - Tokenizers 0.13.3
 
25
  value: 1.0
26
  ---
27
 
28
+ # Fine-Tuned ViT for Beans Leaf Disease Classification
29
+
30
+ ## Model Information
31
+ * **Model Name**: Fine-Tuned ViT (Vision Transformer)
32
+ * **Base Model**: Google/ViT-base-patch16-224-in21k
33
+ * **Task**: Image Classification (Beans Leaf Disease Classification)
34
+ * **Dataset**: Beans leaf dataset with images of diseased and healthy leaves.
35
+
36
+ ## Problem Statement
37
+ The goal of this model is to classify leaf images into three categories:
38
+ ```
39
+ {
40
+ "angular_leaf_spot": 0,
41
+ "bean_rust": 1,
42
+ "healthy": 2,
43
+ }
44
+ ```
45
+
46
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6338c06c107c4835a05699f9/3qwVfVNQSt0KHe8t_OCrT.png)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  ### Training results
49
 
 
52
  | 0.1495 | 1.54 | 100 | 0.0910 | 0.9774 |
53
  | 0.0121 | 3.08 | 200 | 0.0155 | 1.0 |
54
 
55
+ ## Framework versions
56
+ + Transformers 4.33.2
57
+ + Pytorch 2.0.1+cu118
58
+ + Datasets 2.14.5
59
+ + Tokenizers 0.13.3
60
 
 
61