TypeError: Value.__init__() missing 1 required positional argument: 'dtype'
NONE
same error 
```
data = load_dataset('/opt/deepseek_R1_finetune/hf_datasets/openai/gsm8k', 'main')[split] 
```
2025-04-14T09:51:53Z
https://github.com/huggingface/datasets/issues/7334#issuecomment-2801136256
https://api.github.com/repos/huggingface/datasets/issues/7334
IC_kwDODunzps6m9fKA
https://api.github.com/repos/huggingface/datasets/issues/comments/2801136256/reactions
2025-04-14T09:51:53Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2801136256
https://avatars.githubusercontent.com/u/49515380?v=4
https://api.github.com/users/jaffe-fly/events{/privacy}
https://api.github.com/users/jaffe-fly/followers
https://api.github.com/users/jaffe-fly/following{/other_user}
https://api.github.com/users/jaffe-fly/gists{/gist_id}
https://github.com/jaffe-fly
jaffe-fly
MDQ6VXNlcjQ5NTE1Mzgw
https://api.github.com/users/jaffe-fly/orgs
https://api.github.com/users/jaffe-fly/received_events
https://api.github.com/users/jaffe-fly/repos
https://api.github.com/users/jaffe-fly/starred{/owner}{/repo}
https://api.github.com/users/jaffe-fly/subscriptions
User
https://api.github.com/users/jaffe-fly
public
NONE
> same error
> 
> ```
> data = load_dataset('/opt/deepseek_R1_finetune/hf_datasets/openai/gsm8k', 'main')[split] 
> ```

https://github.com/huggingface/open-r1/issues/204  this help me
2025-04-14T10:25:11Z
https://github.com/huggingface/datasets/issues/7334#issuecomment-2801246078
https://api.github.com/repos/huggingface/datasets/issues/7334
IC_kwDODunzps6m959-
https://api.github.com/repos/huggingface/datasets/issues/comments/2801246078/reactions
2025-04-14T10:25:11Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2801246078
https://avatars.githubusercontent.com/u/49515380?v=4
https://api.github.com/users/jaffe-fly/events{/privacy}
https://api.github.com/users/jaffe-fly/followers
https://api.github.com/users/jaffe-fly/following{/other_user}
https://api.github.com/users/jaffe-fly/gists{/gist_id}
https://github.com/jaffe-fly
jaffe-fly
MDQ6VXNlcjQ5NTE1Mzgw
https://api.github.com/users/jaffe-fly/orgs
https://api.github.com/users/jaffe-fly/received_events
https://api.github.com/users/jaffe-fly/repos
https://api.github.com/users/jaffe-fly/starred{/owner}{/repo}
https://api.github.com/users/jaffe-fly/subscriptions
User
https://api.github.com/users/jaffe-fly
public
NONE
Solved by delete `dataset_infos.json` file in dataset dir, or you can transfer datasets from Hugginface to Modelscope by [hf-ms-transfer](https://github.com/wa008/hf-ms-transfer), which will solve this problem by default. 
2025-07-10T03:32:36Z
https://github.com/huggingface/datasets/issues/7334#issuecomment-3055228733
https://api.github.com/repos/huggingface/datasets/issues/7334
IC_kwDODunzps62Gxc9
https://api.github.com/repos/huggingface/datasets/issues/comments/3055228733/reactions
2025-07-10T03:32:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/3055228733
https://avatars.githubusercontent.com/u/29834520?v=4
https://api.github.com/users/wa008/events{/privacy}
https://api.github.com/users/wa008/followers
https://api.github.com/users/wa008/following{/other_user}
https://api.github.com/users/wa008/gists{/gist_id}
https://github.com/wa008
wa008
MDQ6VXNlcjI5ODM0NTIw
https://api.github.com/users/wa008/orgs
https://api.github.com/users/wa008/received_events
https://api.github.com/users/wa008/repos
https://api.github.com/users/wa008/starred{/owner}{/repo}
https://api.github.com/users/wa008/subscriptions
User
https://api.github.com/users/wa008
public
### Describe the bug

ds = load_dataset(
    "./xxx.py",
    name="default",
    split="train",
)

The datasets does not support debugging locally anymore...

### Steps to reproduce the bug

```
from datasets import load_dataset

ds = load_dataset(
    "./repo.py",
    name="default",
    split="train",
)

for item in ds:
    print(item)
```

It works fine for "username/repo", but it does not work for "./repo.py" when debugging locally...
Running above code template will report TypeError: Value.__init__() missing 1 required positional argument: 'dtype'

### Expected behavior

fix this bug

### Environment info

python 3.10 datasets==2.21