Skip to content

Commit

Permalink
Fix dataloader bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Oct 7, 2024
1 parent 3d36545 commit a90eb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdelfin/train/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def load_jsonl_into_ds(s3_glob_path: str, first_n_files: int = None) -> Dataset:
"""
Loads JSONL files from the specified S3 path into a Hugging Face Dataset.
"""
all_json_files = s3_glob_path(s3_glob_path)
all_json_files = list_dataset_files(s3_glob_path)

if first_n_files:
all_json_files = all_json_files[:first_n_files]
Expand Down

0 comments on commit a90eb94

Please sign in to comment.