Instructions to use khanhnd61/pop-so101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use khanhnd61/pop-so101 with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download code/run_all.sh from khanhnd61/pop-so101: direct link, hf CLI and curl.
- Browser
- Download file 939 Bytes
-
https://huggingface.co/khanhnd61/pop-so101/resolve/main/code/run_all.sh
- Command line
-
hf download hf://khanhnd61/pop-so101/code/run_all.sh
-
curl -L -o run_all.sh https://huggingface.co/khanhnd61/pop-so101/resolve/main/code/run_all.sh
939 Bytes
| # Submit the four steps as one dependency chain. Run from this directory after setup_env.sh. | |
| # bash run_all.sh # download on a compute node | |
| # SKIP_DOWNLOAD=1 bash run_all.sh # after running "bash slurm/1_download.sbatch" on a login node | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| source config.env | |
| mkdir -p logs | |
| dep="" | |
| if [ "${SKIP_DOWNLOAD:-0}" != 1 ]; then | |
| j1=$(sbatch --parsable $SBATCH_CPU_ARGS slurm/1_download.sbatch); dep="--dependency=afterok:$j1" | |
| echo "1 download $j1" | |
| fi | |
| j2=$(sbatch --parsable $SBATCH_CPU_ARGS $dep --array=0-$((PREP_TASKS - 1)) slurm/2_preprocess.sbatch) | |
| echo "2 preprocess $j2 ($PREP_TASKS array tasks)" | |
| j3=$(sbatch --parsable $SBATCH_CPU_ARGS --dependency=afterok:$j2 slurm/3_index.sbatch) | |
| echo "3 index $j3" | |
| j4=$(sbatch --parsable $SBATCH_GPU_ARGS --dependency=afterok:$j3 slurm/4_train.sbatch) | |
| echo "4 train $j4 (run $RUN_ID, output $POPT_WORK/runs/$RUN_ID)" | |