关于CNNEncoder的使用方式? #370
-
是菜鸟,想请问一下CNNEncoder是怎么使用的,看教程只有LSTMEncoder的例子,有些看不明白 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
您好,能不能提供一下具体教程的地址了? |
Beta Was this translation helpful? Give feedback.
-
@venzhane 你好! |
Beta Was this translation helpful? Give feedback.
-
谢谢 |
Beta Was this translation helpful? Give feedback.
@venzhane 你好!
CNNEncoder
和LSTMEncoder
使用方式类似。CNNEncoder
具体使用可以参考 https://github.com/PaddlePaddle/PaddleNLP/blob/develop/paddlenlp/models/senta.py#L447