p-doom/crowd-code-dataset-0.2 huggingface dataset:
[tab] data/eval/handcrafted/eval_file_switch.md (markdown)
# Assistant
```bash
ls -l slurm/jobs/mihir/horeka/batchsize_scaling/tokenizer/sqrt_lr/
```

# User
<stdout>
total 144
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1322 Dec  3 14:23 train_tokenizer_16_nodes.sbatch
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1309 Dec  3 14:23 train_tokenizer_1_nodes.sbatch
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1319 Dec  3 14:23 train_tokenizer_2_nodes.sbatch
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1323 Dec  3 14:23 train_tokenizer_32_nodes.sbatch
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1310 Dec  3 14:23 train_tokenizer_4_nodes.sbatch
-rw-r--r-- 1 mihir.mahajan mihir.mahajan 1318 Dec  3 14:23 train_tokenizer_8_nodes.sbatch
</stdout>

# Assistant
```bash
cat -n slurm/jobs/mihir/horeka/batchsize_scaling/tokenizer/sqrt_lr/train_tokenizer_1_nodes.sbatch
```

# User
<stdout>
     1  #!/usr/bin/env bash
     2
     3  #SBATCH --nodes=1
     4  #SBATCH --ntasks-per-node=4
     5  #SBATCH --time=05:00:00
     6  #SBATCH --partition=accelerated
     7  #SBATCH --cpus-per-task=5
     8  #SBATCH --gres=gpu:4
     9  #SBATCH --output=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/%x_%j.log
    10  #SBATCH --error=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/logs/logs_mihir/%x_%j.log
    11  #SBATCH --job-name=train_tokenizer_batch_size_scaling_1_node
    12
    13  # Log the sbatch script
    14  cat $0
    15
    16  module unload mpi/openmpi/5.0
    17  module unload devel/cuda/12.4
    18  source .venv/bin/activate
    19
    20  array_records_dir=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data_new/open_ai_minecraft_arrayrecords/10fps_160x90
    21
    22  job_name=$SLURM_JOB_NAME
    23  slurm_job_id=$SLURM_JOB_ID
    24
    25  CHECKPOINT_DIR=/hkfs/work/workspace/scratch/tum_ind3695-jafa_ws_shared/data/checkpoints/$job_name/$slurm_job_id
    26  mkdir -p $CHECKPOINT_DIR
    27
    28  env | grep SLURM
    29
    30  srun python jasmine/train_tokenizer.py \
    31      --ckpt_dir $CHECKPOINT_DIR \
    32      --batch_size=48 \
    33      --min_lr=0 \
    34      --max_lr=1e-4 \
    35      --log_image_interval=1000 \
    36      --log_checkpoint_interval=1000 \
    37      --log \
    38      --name=tokenizer-batch-size-scaling-1-node-sqrt-lr-$slurm_job_id \
    39      --tags tokenizer batch-size-scaling 1-node sqrt-lr \
    40      --entity instant-uv \
    41      --project jafar \
    42      --data_dir $array_records_dir
</stdout>

# Assistant
```bash
sed -i '5,5c#SBATCH --time=48:00:00' slurm/jobs/mihir/horeka/batchsize_scaling/tokenizer/sqrt_lr/train_tokenizer_1_nodes.sbatch
```


# Assistant
```bash
cat -n slurm/jobs/mihir/horeka/batchsize_scaling/tokenizer/sqrt_lr/train_tokenizer_1_nodes.sbatch
```

# User
<stdout>
</stdout>