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 synthetic.py

Daniel Han7e70c8134280
diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py
index 9e6ee244344..b6d6165bf20 100644
--- a/unsloth/dataprep/synthetic.py
+++ b/unsloth/dataprep/synthetic.py
@@ -224,8 +224,8 @@ class SyntheticDataKit:
):
assert(hasattr(self, "model_name"))
assert(hasattr(self, "max_seq_length"))
- assert(hasattr(max_generation_tokens < self.max_seq_length))
-
+ assert(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: