Supervised Fine-tuning Trainer - Custom Loss Function

Would you mind share the full script?