SDG Group interview question

CNN, Transformer, how to avoid overfitting