Add `trust_remote_code=True` argument to prevent a prompt from `load_dataset`
Browse files
QUAERO.py
CHANGED
|
@@ -295,7 +295,7 @@ class QUAERO(datasets.GeneratorBasedBuilder):
|
|
| 295 |
|
| 296 |
def _generate_examples(self, split):
|
| 297 |
|
| 298 |
-
ds = load_dataset("bigbio/quaero", f"quaero_{self.config.name}_source")[split]
|
| 299 |
|
| 300 |
if self.config.name == "emea":
|
| 301 |
|
|
|
|
| 295 |
|
| 296 |
def _generate_examples(self, split):
|
| 297 |
|
| 298 |
+
ds = load_dataset("bigbio/quaero", f"quaero_{self.config.name}_source", trust_remote_code=True)[split]
|
| 299 |
|
| 300 |
if self.config.name == "emea":
|
| 301 |
|