paddlehub_ernie_emotion_analysis
paddlehub_ernie_emotion_analysis copied to clipboard
百度PaddleHub-ERNIE微调中文情感分析(文本分类)
D:\tool\anaconda3\envs\ernie-cpu\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") Traceback (most recent call last): File "D:/lenovo/python-project/paddlehub_ernie_emotion_analysis/finetune_ernie.py", line 2, in import paddlehub as hub File "D:\tool\anaconda3\envs\ernie-cpu\lib\site-packages\paddlehub\__init__.py", line 54, in from...
Traceback (most recent call last): File "D:\paddlehub_ernie_emotion_analysis-main\finetune_ernie.py", line 2, in import paddlehub as hub File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\__init__.py", line 31, in from paddlehub import datasets File "C:\Users\huawei\AppData\Roaming\Python\Python311\site-packages\paddlehub\datasets\__init__.py", line 16, in from paddlehub.datasets.chnsenticorp...
运行失败
OSError: Not found: "C:\Users\方宇鹏\.paddlenlp\models\ernie-tiny\spm_cased_simp_sampled.model": No such file or directory Error #2
你好 我用您的代码可以运行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) 像这样 请问是什么问题呢
你好 我用您的代码可以运行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) 像这样 请问是什么问题呢