Kontawat commited on
Commit
74c90db
1 Parent(s): 5b882d2

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -16
README.md CHANGED
@@ -1,24 +1,23 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - image-classification
5
  - generated_from_trainer
6
  metrics:
7
  - accuracy
8
  model-index:
9
- - name: vit-base-beans-demo-v5
10
  results: []
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
  should probably proofread and complete it, then remove this comment. -->
15
 
16
- # vit-base-beans-demo-v5
17
 
18
- 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 diabetic-retinopathy-classification dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.7260
21
- - Accuracy: 0.7263
22
 
23
  ## Model description
24
 
@@ -38,26 +37,24 @@ More information needed
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 0.0002
41
- - train_batch_size: 16
42
  - eval_batch_size: 8
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 4
47
  - mixed_precision_training: Native AMP
48
 
49
  ### Training results
50
 
51
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
- | 0.9235 | 0.47 | 100 | 0.8972 | 0.6493 |
54
- | 0.9253 | 0.95 | 200 | 0.9151 | 0.6635 |
55
- | 0.8371 | 1.42 | 300 | 0.8071 | 0.6931 |
56
- | 0.7355 | 1.9 | 400 | 0.7563 | 0.7073 |
57
- | 0.6532 | 2.37 | 500 | 0.7543 | 0.6896 |
58
- | 0.5982 | 2.84 | 600 | 0.7260 | 0.7263 |
59
- | 0.4276 | 3.32 | 700 | 0.7346 | 0.7239 |
60
- | 0.4935 | 3.79 | 800 | 0.7490 | 0.7133 |
61
 
62
 
63
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
  tags:
 
4
  - generated_from_trainer
5
  metrics:
6
  - accuracy
7
  model-index:
8
+ - name: vit-diabetic-retinopathy-classification
9
  results: []
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
+ # vit-diabetic-retinopathy-classification
16
 
17
+ This model is a fine-tuned version of [Kontawat/vit-diabetic-retinopathy-classification](https://huggingface.co/Kontawat/vit-diabetic-retinopathy-classification) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 1.0460
20
+ - Accuracy: 0.7287
21
 
22
  ## Model description
23
 
 
37
 
38
  The following hyperparameters were used during training:
39
  - learning_rate: 0.0002
40
+ - train_batch_size: 32
41
  - eval_batch_size: 8
42
  - seed: 42
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: linear
45
+ - num_epochs: 6
46
  - mixed_precision_training: Native AMP
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.5645 | 0.94 | 100 | 0.7731 | 0.7239 |
53
+ | 0.3971 | 1.89 | 200 | 0.8123 | 0.7038 |
54
+ | 0.3239 | 2.83 | 300 | 0.8204 | 0.7239 |
55
+ | 0.2178 | 3.77 | 400 | 0.9085 | 0.7204 |
56
+ | 0.18 | 4.72 | 500 | 1.0284 | 0.7310 |
57
+ | 0.0501 | 5.66 | 600 | 1.0460 | 0.7287 |
 
 
58
 
59
 
60
  ### Framework versions