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

大模型LLMICL知识抽取 #401

Closed
zhousuyu1111 opened this issue Jan 19, 2024 · 6 comments
Closed

大模型LLMICL知识抽取 #401

zhousuyu1111 opened this issue Jan 19, 2024 · 6 comments
Labels
question Further information is requested

Comments

@zhousuyu1111
Copy link

你好,我在调用大模型进行知识抽取的时候得到的结果和示例不同。
IMG_export_20240119_112117847
以下是我的样本
IMG_export_20240119_112253501

@zhousuyu1111 zhousuyu1111 added the question Further information is requested label Jan 19, 2024
@guihonghao
Copy link
Contributor

建议多给几个例子

@zhousuyu1111
Copy link
Author

你好,抱歉我描述有误,我直接调用大模型,不使用样本增强,进行实体识别,关系抽取或者三元组抽取时得到的结果和https://github.com/zjunlp/DeepKE/blob/main/example/llm/README_CN.md中提供的返回结果不一样。例如我抽取三元组的结果
IMG_export_20240119_145915754
样本和配置文件如下:
IMG_export_20240119_145911888
IMG_export_20240119_145909079
这里已经在rte_check.json中增加了10条。得到的都不是readme中给出具有固定格式的输出,请问这是为什么

@guihonghao
Copy link
Contributor

你的zero_shot显示是True,这是0样本设置

@zhousuyu1111
Copy link
Author

Screenshot_20240119_160634
请问这一部分是不是零样本,这里的输出是固定格式的输出

@guihonghao
Copy link
Contributor

zero_shot=True是0样本,zero_shot=False是少样本。

@zxlzr
Copy link
Contributor

zxlzr commented Jan 21, 2024

请问您的问题是否已解决?

@zxlzr zxlzr closed this as completed Jan 22, 2024
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

3 participants