Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update tokenizer_utils.py

Daniel Hand07aa0e4d370
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.py
index 3b336664d0c..cb8852a3064 100644
--- a/unsloth/tokenizer_utils.py
+++ b/unsloth/tokenizer_utils.py
@@ -1058,6 +1058,7 @@ for trainer_name in ("SFTTrainer", "DPOTrainer", "KTOTrainer"):
trainer_text = patch_trl_tokenizer_processing_class(trainer_name)
if trainer_text is None: continue
try:
+ print(trainer_text)
exec(trainer_text, globals())
except Exception as error:
raise RuntimeError(