Datasets:
Download scripts/fetch_assets.sh from Nabidnur/RoboRACE-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.46 kB
-
https://huggingface.co/datasets/Nabidnur/RoboRACE-Bench/resolve/main/scripts/fetch_assets.sh
- Command line
-
hf download hf://datasets/Nabidnur/RoboRACE-Bench/scripts/fetch_assets.sh
-
curl -L -o fetch_assets.sh https://huggingface.co/datasets/Nabidnur/RoboRACE-Bench/resolve/main/scripts/fetch_assets.sh
1.46 kB
| # Third-party assets (not committed): SO-101 model (MuJoCo Menagerie, Apache-2.0), PlotNeuralNet (MIT), | |
| # ERQA (HF mirror of the official TFRecord; needs HF_TOKEN), PlanBench Blocksworld task 1 (MIT). | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| M=https://raw.githubusercontent.com/google-deepmind/mujoco_menagerie/main/robotstudio_so101 | |
| D=third_party/menagerie/robotstudio_so101 | |
| mkdir -p "$D/assets" | |
| for f in so101.xml scene.xml LICENSE README.md; do curl -sSfL "$M/$f" -o "$D/$f"; done | |
| for f in $(grep -oE 'file="[^"]+"' "$D/so101.xml" | sed 's/file="//;s/"//' | sort -u); do curl -sSfL "$M/assets/$f" -o "$D/assets/$f"; done | |
| P=https://raw.githubusercontent.com/HarisIqbal88/PlotNeuralNet/master | |
| mkdir -p third_party/PlotNeuralNet/pycore third_party/PlotNeuralNet/layers | |
| for f in pycore/tikzeng.py pycore/blocks.py pycore/__init__.py layers/init.tex layers/Ball.sty layers/Box.sty layers/RightBandedBox.sty LICENSE; do | |
| curl -sSfL "$P/$f" -o "third_party/PlotNeuralNet/$f"; done | |
| mkdir -p data/planbench data/erqa | |
| curl -sSfL https://raw.githubusercontent.com/karthikv792/LLMs-Planning/main/plan-bench/prompts/blocksworld/task_1_plan_generation.json \ | |
| -o data/planbench/task_1_plan_generation.json | |
| : "${HF_TOKEN:?set HF_TOKEN to download ERQA}" | |
| curl -sSfL -H "Authorization: Bearer $HF_TOKEN" \ | |
| https://huggingface.co/datasets/FlagEval/ERQA/resolve/main/data/test-00000-of-00001.parquet -o data/erqa/test.parquet | |
| echo "assets ready" | |