-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgenerate.sh
More file actions
19 lines (18 loc) · 786 Bytes
/
generate.sh
File metadata and controls
19 lines (18 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
#SBATCH --output=jobs/Job.%j.out
#SBATCH --error=jobs/Job.%j.err
#SBATCH --partition=sfscai
#SBATCH --cpus-per-task=4
#SBATCH --mem=64GB
#SBATCH --time=2-00:00:00
#SBATCH --gres=gpu:1
#SBATCH --mail-type=ALL
#SBATCH --mail-user=hh3043@nyu.edu
#SBATCH --requeue
#SBATCH --nodelist=gpu190
source /gpfsnyu/packages/miniconda/2023.2.7/etc/profile.d/conda.sh
ml cuda/11.1.1
conda activate molbart
python LLM4Chem/generate_on_dataset.py --model_name osunlp/LlaSMol-Mistral-7B --output_dir eval/LlaSMol-Mistral-7B/output --tasks "['forward_synthesis','retrosynthesis']"
python LLM4Chem/extract_prediction.py --output_dir eval/LlaSMol-Mistral-7B/output --prediction_dir eval/LlaSMol-Mistral-7B/prediction --tasks "['forward_synthesis','retrosynthesis']"
conda deactivate