see here… dataset returns pure python objects.
here is one possible approach but it has other side effects.
eval_dataset = eval_dataset.with_format('tf')