Datasets:
Upload build_dataset.py
Browse files- build_dataset.py +5 -4
build_dataset.py
CHANGED
@@ -41,16 +41,17 @@ This dataset is from the EMBER 2018 Malware Analysis dataset
|
|
41 |
_HOMEPAGE = "https://github.com/elastic/ember"
|
42 |
_LICENSE = ""
|
43 |
_URLS = {
|
44 |
-
"text_classification": "https://huggingface.co/datasets/cw1521/ember2018-malware/blob/main/data/"
|
45 |
-
"test": "https://huggingface.co/datasets/cw1521/ember2018-malware/blob/main/data/*_train_1.jsonl"
|
46 |
}
|
47 |
|
48 |
|
49 |
class EMBERConfig(datasets.GeneratorBasedBuilder):
|
50 |
VERSION = datasets.Version("1.1.0")
|
51 |
BUILDER_CONFIGS = [
|
52 |
-
datasets.BuilderConfig(
|
53 |
-
|
|
|
|
|
54 |
]
|
55 |
|
56 |
DEFAULT_CONFIG_NAME = "text_classification"
|
|
|
41 |
_HOMEPAGE = "https://github.com/elastic/ember"
|
42 |
_LICENSE = ""
|
43 |
_URLS = {
|
44 |
+
"text_classification": "https://huggingface.co/datasets/cw1521/ember2018-malware/blob/main/data/"
|
|
|
45 |
}
|
46 |
|
47 |
|
48 |
class EMBERConfig(datasets.GeneratorBasedBuilder):
|
49 |
VERSION = datasets.Version("1.1.0")
|
50 |
BUILDER_CONFIGS = [
|
51 |
+
datasets.BuilderConfig(
|
52 |
+
name="text_classification",
|
53 |
+
version=VERSION, description="This part of my dataset covers text classification"
|
54 |
+
)
|
55 |
]
|
56 |
|
57 |
DEFAULT_CONFIG_NAME = "text_classification"
|