Skip to content

Commit

Permalink
fix: remove packing from func def
Browse files Browse the repository at this point in the history
Signed-off-by: Will Johnson <mwjohnson728@gmail.com>
  • Loading branch information
willmj committed Jan 23, 2025
1 parent 3107fbf commit b72003d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tuning/data/setup_dataprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _process_dataconfig_file(


# Data Format 1: Pretokenized Data
def _get_pretokenized_dataset_handlers(data_args, packing, is_eval_tokenized):
def _get_pretokenized_dataset_handlers(data_args, is_eval_tokenized):

# if the provided train dataset is pretokenized
# however user provides formatting flags, error out
Expand Down Expand Up @@ -258,7 +258,7 @@ def _process_raw_data_args(
if is_traindata_tokenized:
# Data Format 1: Pretokenized Data
handlers, dataset_text_field = _get_pretokenized_dataset_handlers(
data_args, packing, (is_eval_dataset_present and not is_evaldata_tokenized)
data_args, (is_eval_dataset_present and not is_evaldata_tokenized)
)
elif data_args.instruction_template and data_args.response_template:
# Data Format 2: Chat dataset with instruction and response template
Expand Down

0 comments on commit b72003d

Please sign in to comment.