Can I use CUDA with Trainer.train?

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