Eric Wang 3 жил өмнө
parent
commit
fac53721a2
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  1. 0 1
      finetune.py

+ 0 - 1
finetune.py

@@ -139,7 +139,6 @@ def generate_and_tokenize_prompt(data_point):
                 user_prompt,
                 truncation=True,
                 max_length=CUTOFF_LEN + 1,
-                padding="max_length",
             )["input_ids"]
         )
         - 1