Hi,do you know how to load the dataset from local file now?
NONE

@Gera001
# Loading Dataset from Local Files Using 🤗Hugging Face.

To load a dataset from local files using the Hugging Face datasets library, you can use the `load_dataset` function.

```
from datasets import load_dataset
dataset = load_dataset('csv', data_files={'train': 'path/to/train.csv',
                                         'test': 'path/to/test.csv'})
```

Reference to [HF Datasets docs for loading from local](https://huggingface.co/docs/datasets/en/loading#csv).       

@albertvillanova
this issue can be closed here.
2024-03-31T07:39:11Z
https://github.com/huggingface/datasets/issues/6721#issuecomment-2028587911
https://api.github.com/repos/huggingface/datasets/issues/6721
IC_kwDODunzps546cuH
https://api.github.com/repos/huggingface/datasets/issues/comments/2028587911/reactions
2024-03-31T07:46:00Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2028587911
https://avatars.githubusercontent.com/u/75563673?v=4
https://api.github.com/users/anurag12-webster/events{/privacy}
https://api.github.com/users/anurag12-webster/followers
https://api.github.com/users/anurag12-webster/following{/other_user}
https://api.github.com/users/anurag12-webster/gists{/gist_id}
https://github.com/anurag12-webster
anurag12-webster
MDQ6VXNlcjc1NTYzNjcz
https://api.github.com/users/anurag12-webster/orgs
https://api.github.com/users/anurag12-webster/received_events
https://api.github.com/users/anurag12-webster/repos
https://api.github.com/users/anurag12-webster/starred{/owner}{/repo}
https://api.github.com/users/anurag12-webster/subscriptions
User
https://api.github.com/users/anurag12-webster
public
NONE
like this: from datasets import load_from_disk
dataset = load_from_disk(data_path)

2024-03-31T07:53:21Z
https://github.com/huggingface/datasets/issues/6721#issuecomment-2028591076
https://api.github.com/repos/huggingface/datasets/issues/6721
IC_kwDODunzps546dfk
https://api.github.com/repos/huggingface/datasets/issues/comments/2028591076/reactions
2024-03-31T07:53:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2028591076
https://avatars.githubusercontent.com/u/165282749?v=4
https://api.github.com/users/ge00009/events{/privacy}
https://api.github.com/users/ge00009/followers
https://api.github.com/users/ge00009/following{/other_user}
https://api.github.com/users/ge00009/gists{/gist_id}
https://github.com/ge00009
ge00009
U_kgDOCdoDvQ
https://api.github.com/users/ge00009/orgs
https://api.github.com/users/ge00009/received_events
https://api.github.com/users/ge00009/repos
https://api.github.com/users/ge00009/starred{/owner}{/repo}
https://api.github.com/users/ge00009/subscriptions
User
https://api.github.com/users/ge00009
public
NONE
@ge00009 
> like this: from datasets import load_from_disk dataset = load_from_disk(data_path)

Loads a dataset that was previously saved using `save_to_disk()`.

Reference link:
https://huggingface.co/docs/datasets/en/package_reference/loading_methods#datasets.load_from_disk.example
2024-03-31T08:07:57Z
https://github.com/huggingface/datasets/issues/6721#issuecomment-2028595153
https://api.github.com/repos/huggingface/datasets/issues/6721
IC_kwDODunzps546efR
https://api.github.com/repos/huggingface/datasets/issues/comments/2028595153/reactions
2024-03-31T08:09:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2028595153
https://avatars.githubusercontent.com/u/75563673?v=4
https://api.github.com/users/anurag12-webster/events{/privacy}
https://api.github.com/users/anurag12-webster/followers
https://api.github.com/users/anurag12-webster/following{/other_user}
https://api.github.com/users/anurag12-webster/gists{/gist_id}
https://github.com/anurag12-webster
anurag12-webster
MDQ6VXNlcjc1NTYzNjcz
https://api.github.com/users/anurag12-webster/orgs
https://api.github.com/users/anurag12-webster/received_events
https://api.github.com/users/anurag12-webster/repos
https://api.github.com/users/anurag12-webster/starred{/owner}{/repo}
https://api.github.com/users/anurag12-webster/subscriptions
User
https://api.github.com/users/anurag12-webster
public
              Hi, if I want to load the dataset from local file, then how to specify the configuration name?

_Originally posted by @WHU-gentle in https://github.com/huggingface/datasets/issues/2976#issuecomment-1333455222_
            