bert_seq2seq
bert_seq2seq copied to clipboard
你好运行的时候报错
Error(s) in loading state_dict for BertSeqLabelingCRF: Missing key(s) in state_dict: "transform.dense.weight", "transform.dense.bias", "transform.LayerNorm.weight", "transform.LayerNorm.bias", "final_dense.weight", "final_dense.bias", "crf_layer.trans". Unexpected key(s) in state_dict: "cls.predictions.bias", "cls.predictions.transform.dense.weight", "cls.predictions.transform.dense.bias", "cls.predictions.transform.LayerNorm.weight", "cls.predictions.transform.LayerNorm.bias", "cls.predictions.decoder.weight", "cls.seq_relationship.weight", "cls.seq_relationship.bias".
模型确定下载的没问题吗
找到作者大大,解决了。我是菜鸡