PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

自建问答模型的数据集

Open hanfu opened this issue 3 years ago • 1 comments

你好 我试图在问答模型中使用自建数据集 数据集训练集为(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

都会在传入paddle.io.DataLoader的时候失败

请问这个报错是怎样的呢,另外之前有一个自建问答模型的数据集的issue #2770 可以参考下

guoshengCS avatar Jul 28 '22 13:07 guoshengCS

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] avatar Dec 08 '22 02:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。

github-actions[bot] avatar Dec 22 '22 16:12 github-actions[bot]