-
Notifications
You must be signed in to change notification settings - Fork 674
Add text examples #69
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
Conversation
e87c8ad to
2e17b38
Compare
| @@ -0,0 +1,130 @@ | |||
| // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
text/ernie_tokencls.cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
分类的就是text/ernie_seqcls.cc
ZeyuChen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add text examples (PaddlePaddle#69) * Add text init file * Fix some cmake * Add TextModel, TextResult, PredictionOption * Add text preprocessor, postprocessor, pipeline of text model prediction * remove Text prefix * Add faster_tokenizer deps * Add ernie IE examples * Add eigen computation * eigen.h->compute.h * Add python ernie examples * Fix some comments * Add const Data of FDTensor (PaddlePaddle#72) * Add const Data of FDTensor * use SetExternalData instead of memcpy * Add Softmax * Add Max * Add viterbi decode for ernie tokencls Co-authored-by: Jack Zhou <[email protected]>
Add text module