Model training was performed using PyTorch (version 2.0.1) and Lightning (version 2.0.5) . Early stopping was implemented based on the validation cross entropy loss. Full model parameters for the training are described in Table and a general overview of the methods used are visualized in Figure . Transfer learning uses the pre-trained transformer encoder together with a small neural network or CNN. Thereafter, eight XAI methods subdivided into three groups were used for interpretation.