Download sample/download_sample.sh from lanqz7766/OpenBrain: direct link, hf CLI and curl.
- Browser
- Download file 534 Bytes
-
https://huggingface.co/datasets/lanqz7766/OpenBrain/resolve/main/sample/download_sample.sh
- Command line
-
hf download hf://datasets/lanqz7766/OpenBrain/sample/download_sample.sh
-
curl -L -o download_sample.sh https://huggingface.co/datasets/lanqz7766/OpenBrain/resolve/main/sample/download_sample.sh
534 Bytes
| set -euo pipefail | |
| OUT_DIR="${1:-openbrain_v1_0_sample}" | |
| REPO_ID="${OPENBRAIN_HF_REPO:-openbrain-anon/openbrain_v1_0}" | |
| mkdir -p "${OUT_DIR}" | |
| hf download "${REPO_ID}" \ | |
| --repo-type dataset \ | |
| --include "sample/**" \ | |
| --local-dir "${OUT_DIR}" | |
| echo "Downloaded OpenBrain reviewer sample to ${OUT_DIR}" | |
| echo "Manifest: ${OUT_DIR}/sample/sample_manifest.csv" | |
| echo "Preview one case with:" | |
| echo " python ${OUT_DIR}/sample/preview_sample_case.py --case-dir ${OUT_DIR}/sample/cases/<case_id> --output preview.png" | |