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

如何从自己的text中直接抽取三元组呢 #73

Open
Zhuyan98520 opened this issue Nov 10, 2021 · 5 comments
Open

如何从自己的text中直接抽取三元组呢 #73

Zhuyan98520 opened this issue Nov 10, 2021 · 5 comments

Comments

@Zhuyan98520
Copy link

您好,想问下这个模型我训练完之后要从自己的text中抽三元组,该怎么操作呢,因为我看到模型里带的test是带有词性标注的text ,我把test换成我自己的没有词性标注只有text的json就会报错,所以想问下怎么做可以从自己提供的纯text里抽?还是说必须要是做好词性标注的text才能抽呢,谢谢!

@yuanxiaosc
Copy link
Owner

模型训练和预测都没用到词性有关的东西,建议你先看下预处理步骤,不一定需要json格式,只要最后转换成模型能接受的形式就行

@599177227
Copy link

大佬您好! 请问我自己标注了文本,请问需要怎么预处理才能输入到文件中吗?想请问下你有这种数据的预处理代码吗? 格式如下
image
谢谢你!

@599177227
Copy link

这个数据集关系对应 是连接到实体尾部 ,而不是头部,请问得如何修改呢?

@yuanxiaosc
Copy link
Owner

yuanxiaosc commented Jul 29, 2022 via email

@599177227
Copy link

599177227 commented Jul 29, 2022 via email

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