Hi! The first error is a known bug (see Sending a Dataset or DatasetDict to a GPU). Can you update your installation of transformers with pip install -U transformers
and rerun the first snippet?
2 Likes
Hi! The first error is a known bug (see Sending a Dataset or DatasetDict to a GPU). Can you update your installation of transformers with pip install -U transformers
and rerun the first snippet?