From fe30d02f867faa084d3973911c8cb7a38138c9d3 Mon Sep 17 00:00:00 2001 From: x54-729 <17307130121@fudan.edu.cn> Date: Sat, 8 Oct 2022 13:49:22 +0800 Subject: [PATCH] small --- fastNLP/core/dataset/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastNLP/core/dataset/dataset.py b/fastNLP/core/dataset/dataset.py index d57113aa..7b0621af 100644 --- a/fastNLP/core/dataset/dataset.py +++ b/fastNLP/core/dataset/dataset.py @@ -1049,7 +1049,7 @@ class DataSet: """ 将 Huggingface Dataset 转为 fastNLP 的 DataSet - :param dataset 为实例化好的 huggingface Dataset 对象 + :param dataset: 实例化好的 huggingface Dataset 对象 """ from datasets import Dataset if not isinstance(dataset, Dataset):