File size: 452 Bytes
9f66d08 7505a51 9f66d08 | 1 2 3 4 5 6 7 8 9 | #!/usr/bin/env bash
# Entry point for the scheduled HF Job (image python:3.12, secret HF_TOKEN).
# Pulls the code from the dataset repo and runs the daily pipeline with --push.
set -euo pipefail
pip install -q "huggingface_hub>=1.17,<3" pandas pyarrow numpy requests httpx pyyaml duckdb
hf download MiniMaxAI/oss-ecosystem-data --repo-type dataset --include "code/*" --local-dir /w
cd /w/code
HFECO_LOCAL=/w/data python scripts/daily.py "${@:---push}"
|