Open yiyi123123132 opened 4 years ago
crf = CRF(len(tag2idx)) logits = crf(bert_output)
what is the ouput of the CRF,when I print the logits, it shows the dimension (?,?,tag2idx), why the CRF don't output the best sequence? (?,?,1)
crf = CRF(len(tag2idx)) logits = crf(bert_output)
what is the ouput of the CRF,when I print the logits, it shows the dimension (?,?,tag2idx), why the CRF don't output the best sequence? (?,?,1)