Resume failed process
{'login': 'felix-schneider', 'id': 208336, 'node_id': 'MDQ6VXNlcjIwODMzNg==', 'avatar_url': 'https://avatars.githubusercontent.com/u/208336?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/felix-schneider', 'html_url': 'https://github.com/felix-schneider', 'followers_url': 'https://api.github.com/users/felix-schneider/followers', 'following_url': 'https://api.github.com/users/felix-schneider/following{/other_user}', 'gists_url': 'https://api.github.com/users/felix-schneider/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/felix-schneider/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/felix-schneider/subscriptions', 'organizations_url': 'https://api.github.com/users/felix-schneider/orgs', 'repos_url': 'https://api.github.com/users/felix-schneider/repos', 'events_url': 'https://api.github.com/users/felix-schneider/events{/privacy}', 'received_events_url': 'https://api.github.com/users/felix-schneider/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
[]
**Is your feature request related to a problem? Please describe.**
When a process (`map`, `filter`, etc.) crashes part-way through, you lose all progress.

**Describe the solution you'd like**
It would be good if the cache reflected the partial progress, so that after we restart the script, the process can restart where it left off.

**Describe alternatives you've considered**
Doing processing outside of `datasets`, by writing the dataset to json files and building a restart mechanism myself.

**Additional context**
N/A

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5089/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}