Can't add iterable datasets to a Dataset Dict.
CONTRIBUTOR
Transferring as this is relating to the 🤗 Datasets library
2023-05-11T10:17:28Z
https://github.com/huggingface/datasets/issues/5843#issuecomment-1543727901
https://api.github.com/repos/huggingface/datasets/issues/5843
IC_kwDODunzps5cA2sd
https://api.github.com/repos/huggingface/datasets/issues/comments/1543727901/reactions
2023-05-11T10:17:28Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1543727901
https://avatars.githubusercontent.com/u/22614925?v=4
https://api.github.com/users/amyeroberts/events{/privacy}
https://api.github.com/users/amyeroberts/followers
https://api.github.com/users/amyeroberts/following{/other_user}
https://api.github.com/users/amyeroberts/gists{/gist_id}
https://github.com/amyeroberts
amyeroberts
MDQ6VXNlcjIyNjE0OTI1
https://api.github.com/users/amyeroberts/orgs
https://api.github.com/users/amyeroberts/received_events
https://api.github.com/users/amyeroberts/repos
https://api.github.com/users/amyeroberts/starred{/owner}{/repo}
https://api.github.com/users/amyeroberts/subscriptions
User
https://api.github.com/users/amyeroberts
public
COLLABORATOR
You need to use `IterableDatasetDict` instead of `DatasetDict` for iterable datasets.
2023-05-11T17:45:51Z
https://github.com/huggingface/datasets/issues/5843#issuecomment-1544427971
https://api.github.com/repos/huggingface/datasets/issues/5843
IC_kwDODunzps5cDhnD
https://api.github.com/repos/huggingface/datasets/issues/comments/1544427971/reactions
2023-05-11T17:45:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1544427971
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
### System Info

standard env

### Who can help?

_No response_

### Information

- [ ] The official example scripts
- [X] My own modified scripts

### Tasks

- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)

### Reproduction

Get the following error:

TypeError: Values in `DatasetDict` should be of type `Dataset` but got type '<class 'datasets.iterable_dataset.IterableDataset'>'


### Expected behavior

should be able to add iterable datasets to a dataset dict