Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaohanZhangCMU committed Oct 11, 2024
1 parent 0478d49 commit 3e50fbf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llmfoundry/data/finetuning/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ def build_finetuning_dataloader(
allowed_dataset_keys=allowed_dataset_config_keys,
)

allowed_dataset_config_keys = allowed_dataset_config_keys.union(
extraneous_keys,
)

# Use EOS as the pad token if none exists
if tokenizer.pad_token is None: # type: ignore (sometimes it's none and that's ok)
tokenizer.pad_token = tokenizer.eos_token
Expand Down

0 comments on commit 3e50fbf

Please sign in to comment.