Skip to content

Commit

Permalink
Fix kwargs typo, should be hf_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Jan 10, 2024
1 parent 5e85bd6 commit e36f0bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/data/finetuning/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def build_finetuning_dataloader(cfg: DictConfig,
max_seq_len=cfg.dataset.max_seq_len,
preprocessing_fn=preprocessing_fn,
tokenizer=tokenizer,
hf_kwargs=cfg.dataset.get('kwargs', {}))
hf_kwargs=cfg.dataset.get('hf_kwargs', {}))

# Ensure dataset is large enough.
if cfg.drop_last:
Expand Down

0 comments on commit e36f0bc

Please sign in to comment.