Commit ·
76c9e67
1
Parent(s): 14f404d
Update testdataset.py
Browse files- testdataset.py +2 -0
testdataset.py
CHANGED
|
@@ -111,6 +111,8 @@ class MedNLIDataset(datasets.GeneratorBasedBuilder):
|
|
| 111 |
data_dir = self.config.data_dir
|
| 112 |
if data_dir is None:
|
| 113 |
raise ValueError(
|
|
|
|
|
|
|
| 114 |
|
| 115 |
return [
|
| 116 |
datasets.SplitGenerator(
|
|
|
|
| 111 |
data_dir = self.config.data_dir
|
| 112 |
if data_dir is None:
|
| 113 |
raise ValueError(
|
| 114 |
+
"This is a local dataset. Please pass the data_dir kwarg to load_dataset."
|
| 115 |
+
)
|
| 116 |
|
| 117 |
return [
|
| 118 |
datasets.SplitGenerator(
|