Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

如何实现自定义数据集+finetune完成情感分析呢? #374

Answered by Steffy-zxf
stronger123-boa asked this question in Q&A
Discussion options

使用自定义数据集,构建data_loader.

You must be logged in to vote

你好!请升级PaddleNLP为最新版本

pip install --upgrade paddlenlp

自定义数据集参考文档:https://github.com/PaddlePaddle/PaddleNLP/blob/develop/docs/data_prepare/dataset_self_defined.rst

另外,方便贴下错误信息以及代码吗?
提供以上信息可以帮助分析问题。

Replies: 2 comments

Comment options

使用自定义数据集,构建data_loader《使用PaddleNLP语义预训练模型ERNIE优化情感分析》的create_dataloader。报错:没有.map()功能。改成用《快来选一顿好吃的年夜饭》的create_dataloader,报错:SystemError: (Fatal) Blocking queue is killed because the data reader raises an exception. 请问有什么好的案例推荐吗

You must be logged in to vote
0 replies
Comment options

你好!请升级PaddleNLP为最新版本

pip install --upgrade paddlenlp

自定义数据集参考文档:https://github.com/PaddlePaddle/PaddleNLP/blob/develop/docs/data_prepare/dataset_self_defined.rst

另外,方便贴下错误信息以及代码吗?
提供以上信息可以帮助分析问题。

You must be logged in to vote
0 replies
Answer selected by ZeyuChen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #181 on May 12, 2021 11:08.

AltStyle によって変換されたページ (->オリジナル) /