How to initialize BertForSequenceClassification for different input rather than [CLS] token?

前端 未结 0 1378
既然无缘
既然无缘 2021-01-28 19:19

BertForSequenceClassification uses [CLS] token\'s representation to feed a linear classifier. I want to leverage another token (say [X] in the input sequence) rather than [CLS].

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