Download 113/solution/solve.sh from PRHW/loom-benchmark-mbpp: direct link, hf CLI and curl.
- Browser
- Download file 289 Bytes
-
https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/113/solution/solve.sh
- Command line
-
hf download hf://datasets/PRHW/loom-benchmark-mbpp/113/solution/solve.sh
-
curl -L -o solve.sh https://huggingface.co/datasets/PRHW/loom-benchmark-mbpp/resolve/main/113/solution/solve.sh
289 Bytes
| set -eu | |
| HERE="$(dirname "$0")" | |
| if [ -f "$HERE/_reference.py" ]; then | |
| cd "$HERE" | |
| elif [ -f "$HERE/solution/_reference.py" ]; then | |
| cd "$HERE/solution" | |
| else | |
| echo "solve.sh: cannot locate _reference.py relative to $HERE" >&2 | |
| exit 1 | |
| fi | |
| cp -f _reference.py solution.py | |