taishan1994 / pytorch_triple_extraction

基于pytorch的中文三元组提取(命名实体识别+关系抽取)
330 stars 41 forks source link

请问下torchcrf是哪个版本 #19

Closed risotoonero closed 1 year ago

taishan1994 commented 1 year ago

No description provided.

0.7.2

risotoonero commented 1 year ago

image 大佬,我想问问这怎么解决

taishan1994 commented 1 year ago

image 大佬,我想问问这怎么解决

检查下数据的长度是否和attention_mask的长度一致,同时不能用长度为0的数据。