Skip to content

Commit

Permalink
add .json to SUPPORTED_EXTENSIONS (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitanturok authored Apr 19, 2024
1 parent 4bb4d4a commit 20cb40c
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 @@ -82,7 +82,7 @@ def preprocessing_fn(example: Dict) -> Dict[str, str]:
DOWNLOADED_FT_DATASETS_DIRPATH = os.path.abspath(
os.path.join(os.path.realpath(__file__), os.pardir, os.pardir, os.pardir,
'.downloaded_finetuning'))
SUPPORTED_EXTENSIONS = ['.csv', '.jsonl', '.parquet']
SUPPORTED_EXTENSIONS = ['.csv', '.json', '.jsonl', '.parquet']

PromptResponseDict = Mapping[str, str]
ChatFormattedDict = Mapping[str, List[Dict[str, str]]]
Expand Down

0 comments on commit 20cb40c

Please sign in to comment.