added from_generator method to IterableDataset class.
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-10-03T12:33:59Z
https://github.com/huggingface/datasets/pull/5052#issuecomment-1265375117
https://api.github.com/repos/huggingface/datasets/issues/5052
IC_kwDODunzps5LbBeN
https://api.github.com/repos/huggingface/datasets/issues/comments/1265375117/reactions
2022-10-05T12:13:26Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1265375117
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
COLLABORATOR
I added a test and moved the `streaming` param from `read` to `__init_`. Then, I also decided to update the `read` method of the rest of the packaged modules to account for this param. 

@hamid-vakilzadeh Are you OK with these changes? 
2022-10-04T11:54:05Z
https://github.com/huggingface/datasets/pull/5052#issuecomment-1266874221
https://api.github.com/repos/huggingface/datasets/issues/5052
IC_kwDODunzps5Lgvdt
https://api.github.com/repos/huggingface/datasets/issues/comments/1266874221/reactions
2022-10-04T11:54:05Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1266874221
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
CONTRIBUTOR
@mariosasko these all look great! Thanks for the updates.
2022-10-04T13:44:14Z
https://github.com/huggingface/datasets/pull/5052#issuecomment-1267024549
https://api.github.com/repos/huggingface/datasets/issues/5052
IC_kwDODunzps5LhUKl
https://api.github.com/repos/huggingface/datasets/issues/comments/1267024549/reactions
2022-10-04T13:44:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1267024549
https://avatars.githubusercontent.com/u/56002455?v=4
https://api.github.com/users/hamid-vakilzadeh/events{/privacy}
https://api.github.com/users/hamid-vakilzadeh/followers
https://api.github.com/users/hamid-vakilzadeh/following{/other_user}
https://api.github.com/users/hamid-vakilzadeh/gists{/gist_id}
https://github.com/hamid-vakilzadeh
hamid-vakilzadeh
MDQ6VXNlcjU2MDAyNDU1
https://api.github.com/users/hamid-vakilzadeh/orgs
https://api.github.com/users/hamid-vakilzadeh/received_events
https://api.github.com/users/hamid-vakilzadeh/repos
https://api.github.com/users/hamid-vakilzadeh/starred{/owner}{/repo}
https://api.github.com/users/hamid-vakilzadeh/subscriptions
User
https://api.github.com/users/hamid-vakilzadeh
public
Hello, 

This resolves issues #4988.

I added a method `from_generator` to class `IterableDataset`.

I modified the `read` method of input stream generator to also return Iterable_dataset.
