load_from_disk suggests incorrect fix when used to load DatasetDict
{'login': 'dvsth', 'id': 11157811, 'node_id': 'MDQ6VXNlcjExMTU3ODEx', 'avatar_url': 'https://avatars.githubusercontent.com/u/11157811?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/dvsth', 'html_url': 'https://github.com/dvsth', 'followers_url': 'https://api.github.com/users/dvsth/followers', 'following_url': 'https://api.github.com/users/dvsth/following{/other_user}', 'gists_url': 'https://api.github.com/users/dvsth/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/dvsth/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/dvsth/subscriptions', 'organizations_url': 'https://api.github.com/users/dvsth/orgs', 'repos_url': 'https://api.github.com/users/dvsth/repos', 'events_url': 'https://api.github.com/users/dvsth/events{/privacy}', 'received_events_url': 'https://api.github.com/users/dvsth/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
[]
Edit: Please feel free to remove this issue. The problem was not the error message but the fact that the DatasetDict.load_from_disk does not support loading nested splits, i.e. if one of the splits is itself a DatasetDict. If nesting splits is an antipattern, perhaps the load_from_disk function can throw a warning indicating that?
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/4594/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}