-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjob.sh
19 lines (17 loc) · 844 Bytes
/
job.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#SBATCH --job-name=NLP # create a short name for your job
#SBATCH --nodes=1 # node count
#SBATCH --ntasks=1 # number of tasks per nodes
#SBATCH --cpus-per-task=8 # cpu-cores per task (>1 if multi-threaded tasks)
#SBATCH --mem=64G # total memory per node (4 GB per cpu-core is default)
#SBATCH --gres=gpu:1 # number of gpus per node
#SBATCH --time=8:00:00 # total run time limit (HH:MM:SS)
#SBATCH --mail-type=begin # send mail when job begins
#SBATCH --mail-type=end # send mail when job ends
#SBATCH --mail-type=fail # send mail if job fails
#SBATCH [email protected]
module purge
module load anaconda3/2021.5
conda activate nlp
# python gpt-2-imdb_extraction.py --N 100000 --batch-size 10
python llama-extraction2.py --N 20000