Fix "'BertTokenizerFast' object has no attribute 'max_len'"
{'login': 'mflis', 'id': 15031715, 'node_id': 'MDQ6VXNlcjE1MDMxNzE1', 'avatar_url': 'https://avatars.githubusercontent.com/u/15031715?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/mflis', 'html_url': 'https://github.com/mflis', 'followers_url': 'https://api.github.com/users/mflis/followers', 'following_url': 'https://api.github.com/users/mflis/following{/other_user}', 'gists_url': 'https://api.github.com/users/mflis/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/mflis/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/mflis/subscriptions', 'organizations_url': 'https://api.github.com/users/mflis/orgs', 'repos_url': 'https://api.github.com/users/mflis/repos', 'events_url': 'https://api.github.com/users/mflis/events{/privacy}', 'received_events_url': 'https://api.github.com/users/mflis/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Tensorflow 2.3.0 gives:
 FutureWarning: The `max_len` attribute has been deprecated and will be removed in a future version, use `model_max_length` instead.

Tensorflow 2.4.0 gives:
AttributeError 'BertTokenizerFast' object has no attribute 'max_len'
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/1640/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/1640', 'html_url': 'https://github.com/huggingface/datasets/pull/1640', 'diff_url': 'https://github.com/huggingface/datasets/pull/1640.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/1640.patch', 'merged_at': '2020-12-28T17:26:35Z'}