Spaces:
Runtime error
Runtime error
Download data.py from glennrory/dockerspace: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/glennrory/dockerspace/resolve/main/data.py
- Command line
-
hf download hf://spaces/glennrory/dockerspace/data.py
-
curl -L -o data.py https://huggingface.co/spaces/glennrory/dockerspace/resolve/main/data.py
161 Bytes
| from datasets import load_dataset | |
| def get_data(): | |
| ds = load_dataset("codeparrot/github-code", streaming=True, split="train") | |
| print(next(iter(ds))) |