Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRC式抽取模型与原文是不是有点出入 #68

Open
Bureaux-Tao opened this issue Nov 16, 2022 · 1 comment
Open

MRC式抽取模型与原文是不是有点出入 #68

Bureaux-Tao opened this issue Nov 16, 2022 · 1 comment

Comments

@Bureaux-Tao
Copy link

您好,请问MRC式抽取的时候模型除了首指针start_logits和尾指针end_logits之外,是不是少了一个首指针start_logits和尾指针end_logits匹配层?看了下您的解码方式,似乎是只能解flat ner?与MRC原文的不太一样,像诸如两个实体同头,例如下标(2,4),(2,6),或两个实体是包含关系,例如下标(2,7),(3,5)这样的如果没有匹配的那一层,就不能解码出来。

@Tongjilibo
Copy link
Owner

您好,您的理解是对的,我给的简单示例只能cover flat ner,我后续再补充下您说的匹配层的方式,如果您有兴趣也希望不吝赐教下哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants