open-github-meta / code /download.py
tamnd's picture
Sync facebook/react: 5.1K rows (2026-03-28 12:37 UTC)
94d3f22 verified
raw
history blame contribute delete
437 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-meta",
repo_type="dataset",
local_dir="./open-github-meta/",
allow_patterns="data/issues/**/*.parquet",
)
print("Downloaded issues parquet files to ./open-github-meta/")