Update src/run_edu_bert.slurm
Browse files- 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
|
15 |
|
16 |
set -x -e
|
17 |
source ~/.bashrc
|
18 |
-
source "/
|
19 |
-
source activate
|
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
|
|
|
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
|