Download annotations/annotation_17/LESS/evaluation/eval.sh from mcy98/RECODE-H: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_17/LESS/evaluation/eval.sh
- Command line
-
hf download hf://datasets/mcy98/RECODE-H/annotations/annotation_17/LESS/evaluation/eval.sh
-
curl -L -o eval.sh https://huggingface.co/datasets/mcy98/RECODE-H/resolve/main/annotations/annotation_17/LESS/evaluation/eval.sh
416 Bytes
| set_save_dir() { | |
| mdir=$1 | |
| if [[ -d $mdir ]]; then | |
| save_dir=${mdir}/eval/$2 | |
| else | |
| save_dir=$n/space10/out/$(basename $mdir)/eval/$2 | |
| fi | |
| } | |
| set_valid_dir() { | |
| mdir=$1 | |
| if [[ -d $mdir ]]; then | |
| save_dir=${mdir}/valid/$2 | |
| else | |
| save_dir=$n/space10/out/$(basename $mdir)/valid/$2 | |
| fi | |
| } | |
| export DATA_DIR=$n/space10/data/eval | |
| export set_save_dir | |
| export set_valid_dir | |