From a7e6d72c6064d895903a0ee294d62babf7fc8b16 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 30 Apr 2025 08:49:04 -0700 Subject: [PATCH] Update synthetic.py --- unsloth/dataprep/synthetic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsloth/dataprep/synthetic.py b/unsloth/dataprep/synthetic.py index 9e6ee24434..b6d6165bf2 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: