Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local JSON data loading problem #58

Open
HaochenWang1243 opened this issue Feb 8, 2025 · 0 comments
Open

Local JSON data loading problem #58

HaochenWang1243 opened this issue Feb 8, 2025 · 0 comments

Comments

@HaochenWang1243
Copy link

HaochenWang1243 commented Feb 8, 2025

Hi. When I try to load local json data, the following error is reported ValueError: Unsupported source directory format for JSON.
I looked at the code and it seems this line

if source_dir.endswith('.json'):

requires the folder's name to end in .json...? This seems inconsistent with the example notebook for loading json data from huggingface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant