Load custom data pytirch

How do i load custom csv data in pytorch. The dataset contains 2 text fields and one label field. I want to load the data, batch it, apply embedding, how do i go about doing it using torch.utils.data.dataset? It’s very confusing.

There is extensive tutorial on pytorch.org about creating your own Dataset and DataLoader. You shouldn’t have problems with adapting it into your case. However, if you’ll encounter some specific difficulties feel free to ask here.