Download source/scripts/training/autodl_v21.sh from Voltline/vimeml-tiny-ja-v2.1: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/Voltline/vimeml-tiny-ja-v2.1/resolve/main/source/scripts/training/autodl_v21.sh
- Command line
-
hf download hf://Voltline/vimeml-tiny-ja-v2.1/source/scripts/training/autodl_v21.sh
-
curl -L -o autodl_v21.sh https://huggingface.co/Voltline/vimeml-tiny-ja-v2.1/resolve/main/source/scripts/training/autodl_v21.sh
560 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")/../.." | |
| source /root/autodl-tmp/vimeml-wandb.env | |
| export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 PYTHONUNBUFFERED=1 | |
| export WANDB_DIR="$PWD/artifacts/tracking" | |
| export TORCHINDUCTOR_CACHE_DIR=/root/autodl-tmp/torchinductor-cache | |
| export TRITON_CACHE_DIR=/root/autodl-tmp/triton-cache | |
| mkdir -p "$WANDB_DIR" "$TORCHINDUCTOR_CACHE_DIR" "$TRITON_CACHE_DIR" | |
| python_bin="${VIMEML_PYTHON:-/root/miniconda3/bin/python}" | |
| exec "$python_bin" -X utf8 -u scripts/training/train_wandb.py --config configs/train-v21.toml "$@" | |