Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

自建问答模型的数据集

Open hanfu opened this issue 3 years ago • 1 comments

请提出你的问题 Please ask your question

你好 我试图在问答模型中使用自建数据集 数据集训练集为(context, question, start, end), 测试集为(context, question) 我尝试了paddle.io.Datasetpaddlenlp.datasets.MapDataset, 都会在传入paddle.io.DataLoader的时候失败 可以提供一个案例么, 从[(context,question,start,end)...]列表对开始 步步建立数据集

我找到的教程要么是内置dataset 要么就是其他任务的,主要是视觉任务 我水平有限参考不出来 感谢

hanfu avatar Jul 28 '22 08:07 hanfu

https://github.com/PaddlePaddle/PaddleNLP/issues/2913 可以参考这个哈~

ceci3 avatar Jul 29 '22 09:07 ceci3

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot[bot] avatar Aug 15 '23 06:08 paddle-bot[bot]