From cf01e7e48ca4e6c99622ac1785ef35a8a99eb3d9 Mon Sep 17 00:00:00 2001 From: Haibin <1400012807@pku.edu.cn> Date: Thu, 19 Dec 2024 17:29:40 +0800 Subject: [PATCH] naive reverse grouper --- data_juicer/ops/grouper/naive_reverse_grouper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_juicer/ops/grouper/naive_reverse_grouper.py b/data_juicer/ops/grouper/naive_reverse_grouper.py index 804b17d9e..385a83821 100644 --- a/data_juicer/ops/grouper/naive_reverse_grouper.py +++ b/data_juicer/ops/grouper/naive_reverse_grouper.py @@ -21,6 +21,6 @@ def process(self, dataset): samples = [] for sample in dataset: - samples.append(convert_dict_list_to_list_dict(sample)) + samples.extend(convert_dict_list_to_list_dict(sample)) return samples