Can you copy/paste the error messages?
In general, if your data are saved in a list, you should be able to use torch.utils.data.DataLoader, like the sentiment analysis example above. You can follow the example here 4 to build vocab and datasets.