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

超过512就会报错。 #495

Open
tianchiguaixia opened this issue May 7, 2024 · 3 comments
Open

超过512就会报错。 #495

tianchiguaixia opened this issue May 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@tianchiguaixia
Copy link

使用案例:DeepKE训练关系抽取时候,如果输入文本长度超过512就会报错。这个希望加一个后处理功能,超过512的,进行分段抽取再汇总返回结果。而不是报错。
image

@tianchiguaixia tianchiguaixia added the enhancement New feature or request label May 7, 2024
@zxlzr
Copy link
Contributor

zxlzr commented May 7, 2024

感谢您的建议。

@tianchiguaixia
Copy link
Author

可以参考阿里的RexUniNLU.因为现实文本,文献很多长度超了。希望添加这个功能,不止文本长度。靠模分段处理,最后合并

@zxlzr
Copy link
Contributor

zxlzr commented May 8, 2024

谢谢

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

No branches or pull requests

2 participants