Snap
Browse files
vps_clustering_benchmark.py
CHANGED
@@ -73,14 +73,11 @@ class VPClusteringBenchmark(datasets.GeneratorBasedBuilder):
|
|
73 |
downloaded_file = dl_manager.download_and_extract(data_url)
|
74 |
return [
|
75 |
datasets.SplitGenerator(
|
76 |
-
name=
|
77 |
-
gen_kwargs={"file_path": downloaded_file
|
78 |
-
),
|
79 |
-
datasets.SplitGenerator(
|
80 |
-
name="files",
|
81 |
-
gen_kwargs={"file_path": downloaded_file, "split": "files"},
|
82 |
),
|
83 |
]
|
|
|
84 |
def _generate_examples(self, file_path):
|
85 |
"""Yields examples."""
|
86 |
df = pd.read_pickle(file_path)
|
|
|
73 |
downloaded_file = dl_manager.download_and_extract(data_url)
|
74 |
return [
|
75 |
datasets.SplitGenerator(
|
76 |
+
name=datasets.Split.TRAIN,
|
77 |
+
gen_kwargs={"file_path": downloaded_file},
|
|
|
|
|
|
|
|
|
78 |
),
|
79 |
]
|
80 |
+
|
81 |
def _generate_examples(self, file_path):
|
82 |
"""Yields examples."""
|
83 |
df = pd.read_pickle(file_path)
|