fineweb-edu-classifier / src /train_edu_bert.slurm
anton-l's picture
anton-l HF staff
Update src/train_edu_bert.slurm
f1f90a4 verified
raw
history blame contribute delete
632 Bytes
#!/bin/bash
#SBATCH --job-name=train_edu_bert
#SBATCH --partition hopper-prod
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=16
#SBATCH --mem-per-cpu=20G
#SBATCH --gpus=1
#SBATCH -o %x_%j.out
#SBATCH -e %x_%j.err
#SBATCH --time=1-00:00:00
set -x -e
source ~/.bashrc
source "$CONDA_PREFIX/etc/profile.d/conda.sh"
source activate pytorch
python train_edu_bert.py \
--base_model_name="Snowflake/snowflake-arctic-embed-m" \
--dataset_name="HuggingFaceFW/fineweb-edu-llama3-annotations \
--target_column="score"\
--checkpoint_dir="/fsx/anton/cosmopedia/edu_score/snowflake_regression_median_jury"