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 Hand57f8a36ec1d
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.py
index 4c573778847..3d8a517382f 100644
--- a/unsloth/tokenizer_utils.py
+++ b/unsloth/tokenizer_utils.py
@@ -961,7 +961,7 @@ def patch_sft_trainer_tokenizer():
if len(replacer) == 0: continue
replacer = replacer[0]
print("====")
- print(check_text)
+ print(replacer)
print("====")
function = function.replace(replacer, replacer + check_text)
else: