Upload loaders.py with huggingface_hub
Browse files- loaders.py +1 -0
loaders.py
CHANGED
@@ -84,6 +84,7 @@ class LoadHF(Loader):
|
|
84 |
streaming=self.streaming,
|
85 |
cache_dir=None if self.streaming else dir_to_be_deleted,
|
86 |
split=self.split,
|
|
|
87 |
)
|
88 |
if self.split is not None:
|
89 |
dataset = {self.split: dataset}
|
|
|
84 |
streaming=self.streaming,
|
85 |
cache_dir=None if self.streaming else dir_to_be_deleted,
|
86 |
split=self.split,
|
87 |
+
trust_remote_code=settings.allow_unverified_code,
|
88 |
)
|
89 |
if self.split is not None:
|
90 |
dataset = {self.split: dataset}
|