rafalosa commited on
Commit
2a0e1bc
1 Parent(s): 0e2e23a

End of training

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. pytorch_model.bin +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: diabetic-retinopathy-224-procnorm-vit
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
+ # diabetic-retinopathy-224-procnorm-vit
16
+
17
+ 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 martinezomg/diabetic-retinopathy dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.7578
20
+ - Accuracy: 0.7431
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 4e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - gradient_accumulation_steps: 4
44
+ - total_train_batch_size: 64
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_ratio: 0.1
48
+ - num_epochs: 5
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
+ | 0.8619 | 1.0 | 50 | 0.8907 | 0.7143 |
55
+ | 0.7831 | 2.0 | 100 | 0.7858 | 0.7393 |
56
+ | 0.6906 | 3.0 | 150 | 0.7412 | 0.7531 |
57
+ | 0.5934 | 4.0 | 200 | 0.7528 | 0.7393 |
58
+ | 0.5276 | 5.0 | 250 | 0.7578 | 0.7431 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.28.1
64
+ - Pytorch 2.0.0
65
+ - Datasets 2.12.0
66
+ - Tokenizers 0.13.3
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c65a1beb901817bb842bb7e1261dbb0f11f75e3a64671280718079097b345d0e
3
  size 343277933
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a293e1d9b90b1f9939e436145aeab56cd705bce90bdc7d8f3eeccacc4a4f1319
3
  size 343277933