Elron commited on
Commit
dd9464b
·
verified ·
1 Parent(s): a39fb5f

Upload loaders.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. loaders.py +1 -0
loaders.py CHANGED
@@ -123,6 +123,7 @@ class LoadHF(Loader):
123
  raise ValueError(
124
  f"{self.__class__.__name__} cannot run remote code from huggingface without setting unitxt.settings.allow_unverified_code=True or by setting environment variable: UNITXT_ALLOW_UNVERIFIED_CODE."
125
  ) from e
 
126
 
127
  if self.filtering_lambda is not None:
128
  dataset = self.filtered_load(dataset)
 
123
  raise ValueError(
124
  f"{self.__class__.__name__} cannot run remote code from huggingface without setting unitxt.settings.allow_unverified_code=True or by setting environment variable: UNITXT_ALLOW_UNVERIFIED_CODE."
125
  ) from e
126
+ raise e
127
 
128
  if self.filtering_lambda is not None:
129
  dataset = self.filtered_load(dataset)