Skip to content

Commit

Permalink
Correcting the mistaken of struct image of single sentence classsific…
Browse files Browse the repository at this point in the history
…ation in demo\text_classification\README.md
  • Loading branch information
Wgm-Inspur committed Mar 9, 2022
1 parent 3e488b5 commit c79f56f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/text_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ ELECTRA-Base, Chinese | `hub.Module(name='chinese-electra-base')`
ELECTRA-Small, Chinese | `hub.Module(name='chinese-electra-small')`

通过以上的一行代码,`model`初始化为一个适用于文本分类任务的模型,为ERNIE Tiny的预训练模型后拼接上一个全连接网络(Full Connected)。

![](../../docs/imgs/Single_Sentence_Classsification.jpg)

以上图片来自于:https://arxiv.org/pdf/1810.04805.pdf
Expand Down

0 comments on commit c79f56f

Please sign in to comment.