p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] sbatch_scripts/train_dyn/train_dyn_overfit_tfrecord_10.sbatch (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --time=24:00:00
#SBATCH --partition=accelerated
#SBATCH --account=hk-project-p0023960
#SBATCH --cpus-per-task=8
#SBATCH --gres=gpu:4
#SBATCH --output=logs/logs_training_dyn/%x_%j.log
#SBATCH --error=logs/logs_training_dyn/%x_%j.log
#SBATCH --mail-user=avocadoaling@gmail.com
#SBATCH --job-name=train_dyn_overfit_tfrecord_10
#SBATCH --mail-type=ALL

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv_jafar/bin/activate

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID


CHECKPOINT_DIR=$ws_dir/checkpoints/dyn/$job_name_$slurm_job_id
mkdir -p $CHECKPOINT_DIR


data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/knoms_tfrecords_500_shards_overfit_10'

lam_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/lam/3286113/lam_1750693337_13500'
tokenizer_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/tokenizer/3286114/tokenizer_1750693337_13500'

srun python train_dynamics.py \
    --ckpt_dir $CHECKPOINT_DIR \
    --lam_checkpoint $lam_checkpoint \
    --tokenizer_checkpoint $tokenizer_checkpoint \
    --num_steps=300000 \
    --warmup_steps=10000 \
    --batch_size=48 \
    --log_checkpoint_interval=500 \
    --log_image_interval=10 \
    --seed=0 \
    --min_lr=0.0000866 \
    --max_lr=0.0000866 \
    --log \
    --entity instant-uv \
    --data_dir $data_dir \
    --project jafar
[tab] slurm/dev/alfred/train_dyn/train_dyn_knoms_full.sbatch (shellscript)
#!/usr/bin/env bash

#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --time=24:00:00
#SBATCH --partition=accelerated
#SBATCH --account=hk-project-p0023960
#SBATCH --cpus-per-task=8
#SBATCH --gres=gpu:4
#SBATCH --output=logs/logs_training_dyn/%x_%j.log
#SBATCH --error=logs/logs_training_dyn/%x_%j.log
#SBATCH --mail-user=avocadoaling@gmail.com
#SBATCH --job-name=train_dyn_knoms_full
#SBATCH --mail-type=ALL

# Log the sbatch script
cat $0

module unload mpi/openmpi/5.0
module unload devel/cuda/12.4
source .venv_jafar/bin/activate

job_name=$SLURM_JOB_NAME
slurm_job_id=$SLURM_JOB_ID


CHECKPOINT_DIR=$ws_dir/checkpoints/dyn/$job_name_$slurm_job_id
mkdir -p $CHECKPOINT_DIR


data_dir='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/knoms_tfrecords_500_shards'


lam_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/lam/3277318/lam_1750444032_10000'
tokenizer_checkpoint='/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/checkpoints/tokenizer/3273828/tokenizer_1750269881_15500'

srun python train_dynamics.py \
    --ckpt_dir $CHECKPOINT_DIR \
    --lam_checkpoint $lam_checkpoint \
    --tokenizer_checkpoint $tokenizer_checkpoint \
    --batch_size=48 \
    --log_checkpoint_interval=500 \
    --log_image_interval=50 \
    --seed=0 \
    --min_lr=0.0000866 \
    --max_lr=0.0000866 \
    --log \
    --entity instant-uv \
    --data_dir $data_dir \
    --project jafar