Huggingface BERT SequenceClassification - ValueError: too many values to unpack (expected 2)

前端 未结 0 1347
遥遥无期
遥遥无期 2021-01-21 04:54

The class labels for the two class model is 0, 1, 0, 0, etc. There is only one label per input sequence. The labels are set in a python list and converted to torch.Tensor. (read

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