Download tasks/circuit_workshop/solution/reference/run.sh from Tokenwave-AI/REE: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/datasets/Tokenwave-AI/REE/resolve/main/tasks/circuit_workshop/solution/reference/run.sh
- Command line
-
hf download hf://datasets/Tokenwave-AI/REE/tasks/circuit_workshop/solution/reference/run.sh
-
curl -L -o run.sh https://huggingface.co/datasets/Tokenwave-AI/REE/resolve/main/tasks/circuit_workshop/solution/reference/run.sh
323 Bytes
| set -eu | |
| method_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) | |
| mkdir -p "$2" | |
| "$method_dir/adapter" encode "$2/sequence" < "$1/instance.txt" | |
| "$method_dir/irepair" "$2/sequence" | |
| "$method_dir/adapter" decode "$2/sequence" < "$1/instance.txt" > "$2/construction.txt" | |
| rm "$2/sequence" "$2/sequence.C" "$2/sequence.R" | |