tejasssuthrave commited on
Commit
f3b2faf
·
verified ·
1 Parent(s): a8dccf9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -41
README.md CHANGED
@@ -1,39 +1,24 @@
1
  ---
2
- license: apache-2.0
3
- pipeline_tag: image-classification
4
- base_model: google/vit-base-patch16-224
5
  tags:
6
  - image-classification
 
 
7
  - vit
8
- - generated_from_trainer
9
- datasets:
10
  - image_folder
11
- metrics:
12
- - accuracy
13
  widget:
14
- - src: https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/coco_sample.png
15
- example_title: Upload a skin disease image
16
- model-index:
17
- - name: vit_base_patch16_224-finetuned-SkinDisease
18
- results:
19
- - task:
20
- name: Image Classification
21
- type: image-classification
22
- dataset:
23
- name: image_folder
24
- type: image_folder
25
- config: default
26
- split: train
27
- args: default
28
- metrics:
29
- - name: Accuracy
30
- type: accuracy
31
- value: 0.9343
32
  ---
33
 
34
  # vit_base_patch16_224-finetuned-SkinDisease
35
 
36
- This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the `image_folder` dataset.
37
  It achieves the following results on the evaluation set:
38
 
39
  - **Loss**: 0.1992
@@ -48,35 +33,34 @@ It processes input images of size **224x224 pixels** and outputs the most likely
48
 
49
  ---
50
 
51
- ## 🩺 Intended uses & limitations
52
 
53
  - ✅ For clinical support, not for standalone medical diagnosis.
54
  - ✅ Designed for educational, research, and proof-of-concept use.
55
 
56
  ---
57
 
58
- ## 📊 Training and evaluation data
59
 
60
- - **Dataset used**: Custom image dataset with labeled skin diseases.
61
- - **Preprocessing**: Resized to 224x224, normalized.
62
 
63
  ---
64
 
65
  ## ⚙️ Training procedure
66
 
67
- ### Hyperparameters
68
-
69
- - **Learning Rate**: 5e-05
70
- - **Epochs**: 10
71
- - **Batch Size**: 32
72
- - **Optimizer**: Adam
73
- - **Scheduler**: Linear w/ warmup
74
- - **Seed**: 42
75
 
76
- ### Training results
77
 
78
  | Epoch | Val Loss | Accuracy |
79
- |:-----:|:--------:|:--------:|
80
  | 1 | 0.8248 | 0.7647 |
81
  | 2 | 0.4236 | 0.8748 |
82
  | 3 | 0.3154 | 0.9021 |
@@ -95,4 +79,4 @@ It processes input images of size **224x224 pixels** and outputs the most likely
95
  - `transformers`: 4.33.2
96
  - `pytorch`: 2.0.0
97
  - `datasets`: 2.1.0
98
- - `tokenizers`: 0.13.3
 
1
  ---
 
 
 
2
  tags:
3
  - image-classification
4
+ - skin-disease
5
+ - vision
6
  - vit
7
+ - pytorch
 
8
  - image_folder
9
+ pipeline_tag: image-classification
 
10
  widget:
11
+ - src: >-
12
+ https://huggingface.co/datasets/mishig/sample_images/resolve/main/image_2.jpg
13
+ example_title: Skin Disease Example
14
+ license: apache-2.0
15
+ base_model:
16
+ - google/vit-base-patch16-224
 
 
 
 
 
 
 
 
 
 
 
 
17
  ---
18
 
19
  # vit_base_patch16_224-finetuned-SkinDisease
20
 
21
+ This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on a custom skin disease dataset (`image_folder` format).
22
  It achieves the following results on the evaluation set:
23
 
24
  - **Loss**: 0.1992
 
33
 
34
  ---
35
 
36
+ ## 🔗 Intended uses & limitations
37
 
38
  - ✅ For clinical support, not for standalone medical diagnosis.
39
  - ✅ Designed for educational, research, and proof-of-concept use.
40
 
41
  ---
42
 
43
+ ## 🧪 Training and evaluation data
44
 
45
+ - **Dataset used**: Custom image dataset with labeled skin diseases
46
+ - **Preprocessing**: Resized to 224×224, normalized
47
 
48
  ---
49
 
50
  ## ⚙️ Training procedure
51
 
52
+ **Hyperparameters**:
53
+ - Learning Rate: 5e-05
54
+ - Epochs: 10
55
+ - Batch Size: 32
56
+ - Optimizer: Adam
57
+ - Scheduler: Linear with warmup
58
+ - Seed: 42
 
59
 
60
+ **Training results**:
61
 
62
  | Epoch | Val Loss | Accuracy |
63
+ |-------|----------|----------|
64
  | 1 | 0.8248 | 0.7647 |
65
  | 2 | 0.4236 | 0.8748 |
66
  | 3 | 0.3154 | 0.9021 |
 
79
  - `transformers`: 4.33.2
80
  - `pytorch`: 2.0.0
81
  - `datasets`: 2.1.0
82
+ - `tokenizers`: 0.13.3