I was getting a similar error `pyarrow.lib.ArrowInvalid: Integer value 528 not in range: -128 to 127` - AFAICT, this is because the type specified for `reddit_scores` is `datasets.Sequence(datasets.Value("int8"))`, but the actual values can be well outside the max range for 8-bit integers.
{'login': 'wjfwzzc', 'id': 5126316, 'node_id': 'MDQ6VXNlcjUxMjYzMTY=', 'avatar_url': 'https://avatars.githubusercontent.com/u/5126316?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/wjfwzzc', 'html_url': 'https://github.com/wjfwzzc', 'followers_url': 'https://api.github.com/users/wjfwzzc/followers', 'following_url': 'https://api.github.com/users/wjfwzzc/following{/other_user}', 'gists_url': 'https://api.github.com/users/wjfwzzc/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/wjfwzzc/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/wjfwzzc/subscriptions', 'organizations_url': 'https://api.github.com/users/wjfwzzc/orgs', 'repos_url': 'https://api.github.com/users/wjfwzzc/repos', 'events_url': 'https://api.github.com/users/wjfwzzc/events{/privacy}', 'received_events_url': 'https://api.github.com/users/wjfwzzc/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Duplicated issue.
              I was getting a similar error `pyarrow.lib.ArrowInvalid: Integer value 528 not in range: -128 to 127` - AFAICT, this is because the type specified for `reddit_scores` is `datasets.Sequence(datasets.Value("int8"))`, but the actual values can be well outside the max range for 8-bit integers.

I worked around this by downloading the `the_pile_openwebtext2.py` and editing it to use local files and drop reddit scores as a column (not needed for my purposes).

_Originally posted by @tc-wolf in https://github.com/huggingface/datasets/issues/3053#issuecomment-1281392422_
            
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/5576/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}