Skip to content

Commit

Permalink
pr nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Oct 31, 2023
1 parent 52c40f2 commit 32465b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/data/finetuning/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def dataset_mapper(example: Dict):
dataset_mapper,
batched=False,
remove_columns=columns_to_remove,
num_proc=num_cpus_to_use),
num_proc=num_cpus_to_use,
)
prompt_length_filtered_dataset = tokenized_dataset.filter(
lambda example: len(example['input_ids']) < max_seq_len,
Expand Down

0 comments on commit 32465b2

Please sign in to comment.