Run this model with HF Jobs

Run khanhnd61/pop-so101 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/khanhnd61/pop-so101. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/khanhnd61/pop-so101 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
pop-so101 / code /slurm /2_preprocess.sbatch
khanhnd61's picture
Claude Opus 5.5
Roll-out on an SO-101 with LeRobot: code/ and model card section
5a3fcf5 verified
Raw History Blame Contribute Delete
569 Bytes
#!/bin/bash
#SBATCH --job-name=popt-2-preprocess
#SBATCH --cpus-per-task=16
#SBATCH --mem=64G
#SBATCH --time=12:00:00
#SBATCH --output=logs/%x-%A_%a.out
# Submitted as an array (run_all.sh sets --array=0-$((PREP_TASKS-1))); each task takes a share of the datasets.
set -euo pipefail
cd "${SLURM_SUBMIT_DIR:-$(dirname "$0")/..}"
source config.env
uv run --no-sync python scripts/preprocess.py --work "$POPT_WORK" --task "${SLURM_ARRAY_TASK_ID:-0}" \
--ntasks "${SLURM_ARRAY_TASK_COUNT:-1}" --workers "${SLURM_CPUS_PER_TASK:-8}" --decode-threads 1 ${PREPROCESS_ARGS:-}