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

中文数据集上match pattern应该用哪个? #54

Open
macheng6 opened this issue Jun 28, 2021 · 3 comments
Open

中文数据集上match pattern应该用哪个? #54

macheng6 opened this issue Jun 28, 2021 · 3 comments

Comments

@macheng6
Copy link

No description provided.

@131250208
Copy link
Owner

根据自己的需要,ground truth有span的就用whole span,没有的用whole text

@macheng6
Copy link
Author

根据自己的需要,ground truth有span的就用whole span,没有的用whole text

好的,谢谢。

@lzh1998-jansen
Copy link

根据自己的需要,ground truth有span的就用whole span,没有的用whole text

好的,谢谢。

如下的训练数据格式, 应该选择用 “whole_span” 吗? -----{"id": "train_0", "text": "《邪少兵王》是冰火未央写的网络小说连载于旗峰天下", "relation_list": [{"subject": "邪少兵王", "object": "冰火未央", "subj_char_span": [1, 5], "obj_char_span": [7, 11], "predicate": "作者", "subj_tok_span": [1, 5], "obj_tok_span": [7, 11]}], "entity_list": [{"text": "邪少兵王", "type": "图书作品", "char_span": [1, 5], "tok_span": [1, 5]}, {"text": "冰火未央", "type": "人物", "char_span": [7, 11], "tok_span": [7, 11]}]}

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

3 participants