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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update tokenizer_utils.py
Daniel Han58f370ab2684
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex 6d0ee548c12..7967676d80f 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -1001,7 +1001,7 @@ def patch_sft_trainer_tokenizer():# Also DPO weirdly tokenizes non numeric columns? Delete them!check_text += \"\n"\- "if hasattr(self.train_dataset, 'column_names''):\n"+ "if hasattr(self.train_dataset, 'column_names'):\n"" column_names = set(self.train_dataset.column_names)\n"\" check = ['chosen', 'rejected', 'prompt', 'chosen_input_ids', 'chosen_attention_mask',\n"\" 'chosen_labels', 'rejected_input_ids', 'rejected_attention_mask', 'rejected_labels',\n"\