See https://www.kaggle.com/code/dima806/cifake-ai-generated-image-detection-vit for more details.