Upload QUAERO.py
Browse files
QUAERO.py
CHANGED
@@ -70,7 +70,7 @@ class QUAERO(datasets.GeneratorBasedBuilder):
|
|
70 |
def _info(self):
|
71 |
|
72 |
if self.config.name == "emea":
|
73 |
-
|
74 |
return datasets.DatasetInfo(
|
75 |
description=_DESCRIPTION,
|
76 |
features=datasets.Features(
|
@@ -114,8 +114,6 @@ class QUAERO(datasets.GeneratorBasedBuilder):
|
|
114 |
|
115 |
def _split_generators(self, dl_manager):
|
116 |
|
117 |
-
print("@"*50)
|
118 |
-
|
119 |
return [
|
120 |
datasets.SplitGenerator(
|
121 |
name=datasets.Split.TRAIN,
|
@@ -223,8 +221,6 @@ class QUAERO(datasets.GeneratorBasedBuilder):
|
|
223 |
|
224 |
def _generate_examples(self, split):
|
225 |
|
226 |
-
print("#"*50)
|
227 |
-
|
228 |
ds = load_dataset("bigbio/quaero", f"quaero_{self.config.name}_source")[split]
|
229 |
|
230 |
ds = self.convert_to_hf_format(
|
|
|
70 |
def _info(self):
|
71 |
|
72 |
if self.config.name == "emea":
|
73 |
+
|
74 |
return datasets.DatasetInfo(
|
75 |
description=_DESCRIPTION,
|
76 |
features=datasets.Features(
|
|
|
114 |
|
115 |
def _split_generators(self, dl_manager):
|
116 |
|
|
|
|
|
117 |
return [
|
118 |
datasets.SplitGenerator(
|
119 |
name=datasets.Split.TRAIN,
|
|
|
221 |
|
222 |
def _generate_examples(self, split):
|
223 |
|
|
|
|
|
224 |
ds = load_dataset("bigbio/quaero", f"quaero_{self.config.name}_source")[split]
|
225 |
|
226 |
ds = self.convert_to_hf_format(
|