Skip to content
Snippets Groups Projects
Commit 88ecf389 authored by kulcsar's avatar kulcsar
Browse files

add submit for conda

parent b1893e1b
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#
#SBATCH --job-name=get_bert
#SBATCH --output=output.txt
#SBATCH --ntasks=1
#SBATCH --mail-user=kulcsar@cl.uni-heidelberg.de
#SBATCH --mail-type=ALL
#SBATCH --gres=gpu:1 # number of gpus per node
#SBATCH --partition=students
#JOB STEPS
#srun hostname
#srun sleep 60
cd /home/students/kulcsar/
source /home/students/kulcsar/anaconda3/etc/profile.d/conda.sh
conda create -n sbt python==3.9
conda activate sbt
conda install -c pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
conda install -c huggingface transformers==4.14.1 tokenizers==0.10.3
conda install tqdm
pip install bitarray
pip install sacrebleu
conda install -c conda-forge hydra-core
pip install evaluate
conda install -c anaconda scikit-learn
pip install matplotlib
echo done
#cd /home/students/kulcsar/softwareprojekt
#python BaselineGPU.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment