Support pickle protocol for dataset splits defined as ReadInstruction
COLLABORATOR
@lhoestq But we don't perform conversion to a `NamedSplit` if `_split` is not a string which means it **will** be a `ReadInstruction` after reloading.
2021-03-16T14:24:19Z
https://github.com/huggingface/datasets/pull/2043#issuecomment-800303381
https://api.github.com/repos/huggingface/datasets/issues/2043
MDEyOklzc3VlQ29tbWVudDgwMDMwMzM4MQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/800303381/reactions
2021-03-16T14:24:19Z
https://api.github.com/repos/huggingface/datasets/issues/comments/800303381
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
MEMBER
Yes right ! I read it wrong.
Perfect then
2021-03-16T14:25:38Z
https://github.com/huggingface/datasets/pull/2043#issuecomment-800304419
https://api.github.com/repos/huggingface/datasets/issues/2043
MDEyOklzc3VlQ29tbWVudDgwMDMwNDQxOQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/800304419/reactions
2021-03-16T14:25:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/800304419
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Fixes #2022 (+ some style fixes) 