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 synthetic.py
Daniel Han45a173217cff
diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.pyindex 7119b903b4d..9e6ee244344 100644--- a/unsloth/dataprep/synthetic.py+++ b/unsloth/dataprep/synthetic.py@@ -222,6 +222,10 @@ class SyntheticDataKit:cleanup_batch_size = 4,cleanup_temperature = 0.3,):+ assert(hasattr(self, "model_name"))+ assert(hasattr(self, "max_seq_length"))+ assert(hasattr(max_generation_tokens < self.max_seq_length))+locations = "pdf,html,youtube,docx,ppt,txt,output,generated,cleaned,final"locations = locations.split(",")for path in locations:@@ -230,7 +234,7 @@ class SyntheticDataKit:config = synthetic_config_string\.replace("{data_output_location}", str(output_folder))\- .replace("{model_name}", str(model_name))\+ .replace("{model_name}", str(self.model_name))\.replace("{temperature}", str(temperature))\.replace("{top_p}", str(top_p))\.replace("{chunk_size}", str(chunk_size))\