Datasets:
Update build_database.py
Browse files- build_database.py +1 -1
build_database.py
CHANGED
|
@@ -61,7 +61,7 @@ class EMBERConfig(datasets.GeneratorBasedBuilder):
|
|
| 61 |
_URLS = {}
|
| 62 |
_URLS[self.config.name] = "https://huggingface.co/datasets/cw1521/ember2018-malware-v2/tree/main/data"
|
| 63 |
urls = _URLS[self.config.name]
|
| 64 |
-
data_dir = dl_manager.
|
| 65 |
return [
|
| 66 |
datasets.SplitGenerator(
|
| 67 |
name=datasets.Split.TRAIN,
|
|
|
|
| 61 |
_URLS = {}
|
| 62 |
_URLS[self.config.name] = "https://huggingface.co/datasets/cw1521/ember2018-malware-v2/tree/main/data"
|
| 63 |
urls = _URLS[self.config.name]
|
| 64 |
+
data_dir = dl_manager.download_and_extract(urls)
|
| 65 |
return [
|
| 66 |
datasets.SplitGenerator(
|
| 67 |
name=datasets.Split.TRAIN,
|