open-github-issues / code /download.py
tamnd's picture
sync 8 repos — 2026-04-05 06:22 UTC
95edd9c verified
raw
history blame contribute delete
443 Bytes
# /// script
# requires-python = ">=3.11"
# dependencies = ["huggingface-hub"]
# ///
"""Download dataset files from Hugging Face Hub."""
from huggingface_hub import snapshot_download
# Download only issues
snapshot_download(
"open-index/open-github-issues",
repo_type="dataset",
local_dir="./open-github-issues/",
allow_patterns="data/issues/**/*.parquet",
)
print("Downloaded issues parquet files to ./open-github-issues/")