bert-toxic-comments-multilabel
bert-toxic-comments-multilabel copied to clipboard
Target size is not matching with the input size
I have loaded the data (Toxic dataset) and tried to run the model using batch_size_per_gpu = 4 but i am getting the below error.
ValueError: Target size (torch.Size([0, 6])) must be the same as input size (torch.Size([4, 6]))
Could you please help here.
same issue