Skip to content

Conversation

@joey12300
Copy link
Collaborator

Add text module

@ZeyuChen ZeyuChen self-assigned this Aug 4, 2022
@joey12300 joey12300 changed the title Add text module Add text examples Aug 5, 2022
@joey12300 joey12300 marked this pull request as ready for review August 5, 2022 06:27
@@ -0,0 +1,130 @@
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

text/ernie_tokencls.cc

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

分类的就是text/ernie_seqcls.cc

Copy link
Member

@ZeyuChen ZeyuChen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ZeyuChen ZeyuChen merged commit d792af0 into PaddlePaddle:develop Aug 5, 2022
DefTruth added a commit to DefTruth/FastDeploy that referenced this pull request Aug 8, 2022
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants