diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.py index 1dbff4f57c..3978f62e3b 100644 --- a/unsloth/tokenizer_utils.py +++ b/unsloth/tokenizer_utils.py @@ -1010,6 +1010,7 @@ pass for trainer_name in ("SFTTrainer", "DPOTrainer", "KTOTrainer"): trainer_text = patch_trl_tokenizer_processing_class(trainer_name) if trainer_text is None: continue + print(trainer_text) exec(trainer_text, globals()) exec(f"trl.trainer.{trainer_name} = Unsloth{trainer_name}", globals()) pass