Eric Wang пре 3 година
родитељ
комит
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,
                 user_prompt,
                 truncation=True,
                 truncation=True,
                 max_length=CUTOFF_LEN + 1,
                 max_length=CUTOFF_LEN + 1,
-                padding="max_length",
             )["input_ids"]
             )["input_ids"]
         )
         )
         - 1
         - 1