BERT-Relation-Extraction icon indicating copy to clipboard operation
BERT-Relation-Extraction copied to clipboard

RuntimeError: Error(s) in loading state_dict for BertRe: Unexpected key(s) in state_dict: "bert.embeddings.position_ids".

Open shui-di-star opened this issue 1 year ago • 3 comments

将data_name改成dgre,然后运行predict.py,就报错RuntimeError: Error(s) in loading state_dict for BertRe: Unexpected key(s) in state_dict: "bert.embeddings.position_ids". 但是data_name = duie就不报错,为什么呀?

shui-di-star avatar Nov 04 '23 09:11 shui-di-star