See https://www.kaggle.com/code/dima806/pneumonia-chest-x-ray-image-detection-vit for more details.