EncoderDecoderModel for token classification
Is there some way I can use anEncoderDecoderModelfor token classification? I know of course that you can use anyxxxForTokenClassificationmodel to do token classification.  The reason I do not want to use such axxxForTokenClassificationmodel is that I want to use beam search to find an optimal sequence of token labels. As far as I can gather, that is not possible with axxxForTokenClassificationmodel.