Datasets:
Update SourceData.py
Browse files- SourceData.py +1 -0
SourceData.py
CHANGED
@@ -175,6 +175,7 @@ class SourceData(datasets.GeneratorBasedBuilder):
|
|
175 |
Uses local files if a data_dir is specified. Otherwise downloads the files from their official url."""
|
176 |
|
177 |
try:
|
|
|
178 |
urls = [
|
179 |
self._URLS[self.config.name]+"train.jsonl",
|
180 |
self._URLS[self.config.name]+"test.jsonl",
|
|
|
175 |
Uses local files if a data_dir is specified. Otherwise downloads the files from their official url."""
|
176 |
|
177 |
try:
|
178 |
+
config_name = self.config.name if self.config.name != "default" else "NER"
|
179 |
urls = [
|
180 |
self._URLS[self.config.name]+"train.jsonl",
|
181 |
self._URLS[self.config.name]+"test.jsonl",
|