zhenhao-huang / paddlehub_ernie_emotion_analysis

百度PaddleHub-ERNIE微调中文情感分析(文本分类)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

这是我目前遇到对Ernie来做文本分析解释最清楚的Po主了

Essie0715 opened this issue · comments

commented

如题

很高兴能帮到您:)

你好 我用您的代码可以运行ernie的model 但是换成别的比如bert就会报错
Variable Shape not match, Variable [ embedding_0.w_0_moment1_0 ] need tensor with shape (21128, 768) but load set tensor with shape (50006, 1024)
像这样 请问是什么问题呢