How to use 'collate_fn' with dataloaders?

后端 未结 0 1772

I am trying to train a pretrained roberta model using 3 inputs, 3 input_masks and a label as tensors of my training dataset.

I do this using the following code:

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题