-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Question]: ERNIE模型支持512的token长度,那为何预测时要按照512的字符长度截断呢 #9236
Labels
question
Further information is requested
Comments
在UIE中 |
您好,可以提供具体代码位置吗? |
在PaddleNLP/paddlenlp/taskflow/information_extraction.py中,推理过程_single_stage_predict会调用auto_splitter函数对输入字符串进行切割
也就是PaddleNLP/paddlenlp/taskflow
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请提出你的问题
ERNIE模型支持512的token长度,那为何预测时要按照512的字符串长度截断呢,512字符串长度对于英文文本来说实在太短了
The text was updated successfully, but these errors were encountered: