From 4007e2bbc389671902239e49f116f55980e40f14 Mon Sep 17 00:00:00 2001 From: WangXiequn <67537160+WangXiequn@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:14:43 +0800 Subject: [PATCH 1/2] Update cl_dataset.py fix a bug for lack of a arugument on long sequence dataset --- src/cl_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cl_dataset.py b/src/cl_dataset.py index 3b46324..7535559 100644 --- a/src/cl_dataset.py +++ b/src/cl_dataset.py @@ -180,7 +180,7 @@ def _load_dataset(self, dataset_path): return instances - def load_LongSeq_dataset(self, dataset_path, dataset_name, sampling_strategy, max_num_instances, subset): + def load_LongSeq_dataset(self,labels_path, dataset_path, dataset_name, sampling_strategy, max_num_instances, subset): data = self._load_dataset(dataset_path) print(list(data.keys())) From b6498d2aa1aa80674a7825a1959619df15bb7f3d Mon Sep 17 00:00:00 2001 From: WangXiequn <67537160+WangXiequn@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:16:27 +0800 Subject: [PATCH 2/2] Update cl_dataset.py fix a bug on lack of a postitional arugument --- src/cl_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cl_dataset.py b/src/cl_dataset.py index 7535559..e5082c6 100644 --- a/src/cl_dataset.py +++ b/src/cl_dataset.py @@ -180,7 +180,7 @@ def _load_dataset(self, dataset_path): return instances - def load_LongSeq_dataset(self,labels_path, dataset_path, dataset_name, sampling_strategy, max_num_instances, subset): + def load_LongSeq_dataset(self, dataset_path,labels_path, dataset_name, sampling_strategy, max_num_instances, subset): data = self._load_dataset(dataset_path) print(list(data.keys()))