Text Classification
Transformers
Safetensors
English
bert
Inference Endpoints
anton-l HF staff commited on
Commit
15539d6
1 Parent(s): f1f90a4

Update src/run_edu_bert.slurm

Browse files
Files changed (1) hide show
  1. src/run_edu_bert.slurm +4 -4
src/run_edu_bert.slurm CHANGED
@@ -11,12 +11,12 @@
11
  #SBATCH -o %x_%j.out
12
  #SBATCH -e %x_%j.err
13
  #SBATCH --time=7-00:00:00
14
- #SBATCH --array=0,1,2,3,4,6,7,8,26,29,31%32
15
 
16
  set -x -e
17
  source ~/.bashrc
18
- source "/admin/home/anton/miniforge3/etc/profile.d/conda.sh"
19
- source activate lighteval
20
 
21
  python run_edu_bert.py \
22
  --model_name="HuggingFaceFW/fineweb-edu-classifier" \
@@ -26,4 +26,4 @@ python run_edu_bert.py \
26
  --output_dataset_config="CC-MAIN-2019-04" \
27
  --text_column="text" \
28
  --shard ${SLURM_ARRAY_TASK_ID} \
29
- --num_shards 32
 
11
  #SBATCH -o %x_%j.out
12
  #SBATCH -e %x_%j.err
13
  #SBATCH --time=7-00:00:00
14
+ #SBATCH --array=0-127%128
15
 
16
  set -x -e
17
  source ~/.bashrc
18
+ source "$CONDA_PREFIX/etc/profile.d/conda.sh"
19
+ source activate pytorch
20
 
21
  python run_edu_bert.py \
22
  --model_name="HuggingFaceFW/fineweb-edu-classifier" \
 
26
  --output_dataset_config="CC-MAIN-2019-04" \
27
  --text_column="text" \
28
  --shard ${SLURM_ARRAY_TASK_ID} \
29
+ --num_shards 128