File size: 620 Bytes
39090c7
 
 
 
2262d47
39090c7
2262d47
 
 
 
 
 
 
 
 
39090c7
 
2262d47
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
library_name: peft
---

## LoRA Image Classification LoRA adapter

Model: google/vit-base-patch16-224-in21k

Dataset: https://www.kaggle.com/c/aptos2019-blindness-detection - fundus images of the back of the eye, and diabetic retinopathy score

Source docs: https://huggingface.co/docs/peft/task_guides/image_classification_lora

Training notebook: https://colab.research.google.com/drive/1TVsUyyou87E26Sz40CdBH3CzWoVckgtq?usp=sharing

On 10% held-out of training data: accuracy 76%

- PEFT 0.5.0


## Future goals

- More documentation
- Modify loss for regression on 0-4 score
- Script and Gradio to use raw images