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

关系抽取准备数据 #620

Open
woshifln opened this issue Dec 27, 2024 · 1 comment
Open

关系抽取准备数据 #620

woshifln opened this issue Dec 27, 2024 · 1 comment
Labels
question Further information is requested

Comments

@woshifln
Copy link

Describe the question

A clear and concise description of what the question is.
你好,想询问一下,
①:关系抽取里准备数据获取到的这三个json文件,训练集、验证集和测试集是根据自己的需要用来训练自己的模型的吗?这三个文件要放到哪里怎么去使用它们呢?
5
②:使用standard进行关系抽取,我不太明白提供的example数据。提供的example里的数据是已经对文本里存在的关系抽取了,是抽取后得到的数据,这是抽取完成后的结果展示吗?因为我看给的数据已经标注了关系是什么。还是说提供的example文件数据是训练模型需要的数据格式。

@woshifln woshifln added the question Further information is requested label Dec 27, 2024
@zxlzr
Copy link
Contributor

zxlzr commented Dec 28, 2024

您好,

1 放任何路径均可以,需要在配置文件里写清楚路径 https://github.com/zjunlp/DeepKE/blob/main/example/re/standard/conf/preprocess.yaml

2 模型会根据给定的实体抽取实体之间的关系,您图里的文件夹是做预处理的,真正输入模型的数据的例子在https://github.com/zjunlp/DeepKE/tree/main/example/re/standard/data

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

No branches or pull requests

2 participants