Skip to content

Commit

Permalink
fix value error
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Dec 19, 2023
1 parent 0dc2049 commit 2e4fb93
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 @@ -421,7 +421,7 @@ def build_from_hf(
for f in dataset_files):
raise ValueError(
f'Dataset at local path {dataset_name} contains invalid file types. '
+ 'Allowed file types are: .csv, .jsonl, and .parquet.')
+ f'Allowed file types are: {SUPPORTED_EXTENSIONS}')
dataset = hf_datasets.load_dataset(dataset_name,
split=split,
**hf_kwargs)
Expand Down

0 comments on commit 2e4fb93

Please sign in to comment.