mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-22 13:42:51 +08:00
remove empty line
Former-commit-id: b47e3174472f458a3a8b84a66b475da8fce6db79
This commit is contained in:
parent
0feb2ad35c
commit
62d55b71a3
@ -206,7 +206,6 @@ def preprocess_packed_supervised_dataset(
|
||||
|
||||
# concat all
|
||||
model_inputs["input_ids"].append(list(itertools.chain(*packed_input_ids)))
|
||||
|
||||
model_inputs["labels"].append(list(itertools.chain(*packed_labels)))
|
||||
model_inputs["attention_mask"].append([1] * total_length + [0] * pad_length)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user