Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasva authored Oct 17, 2023
1 parent ceff37f commit 21c2ee5
Show file tree
Hide file tree
Showing 6 changed files with 1,014 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 13b_prompt-1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

### Change here ###
#SBATCH --job-name=13b_prompt-1
#SBATCH --output=13b_prompt-1.txt

#SBATCH --partition=milan-gpu
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=64G
#SBATCH --tmp=20GB
#SBATCH --time=01:30:00
#SBATCH --gres=gpu:1
#SBATCH --mail-type=ALL,TIME_LIMIT_90
#SBATCH --mail-user=<youremail>

cp /fred/oz176/kan_asvasena/llama2_2.sif $JOBFS/llama2_2.sif

module load apptainer

### Change here ###
apptainer run -B /fred/oz176/kan_asvasena/llama2_storage --nv $JOBFS/llama2_2.sif python llama2.py \
"prompt-1.csv" \
"13b" \
"You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information."
25 changes: 25 additions & 0 deletions 7b_prompt-1.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

### Change here ###
#SBATCH --job-name=7b_prompt-1
#SBATCH --output=7b_prompt-1.txt

#SBATCH --partition=milan-gpu
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=32G
#SBATCH --tmp=20GB
#SBATCH --time=01:00:00
#SBATCH --gres=gpu:1
#SBATCH --mail-type=ALL,TIME_LIMIT_90
#SBATCH --mail-user=<your-email>

cp /fred/oz176/kan_asvasena/llama2_2.sif $JOBFS/llama2_2.sif

module load apptainer

### Change here ###
apptainer run -B /fred/oz176/kan_asvasena/llama2_storage --nv $JOBFS/llama2_2.sif python llama2.py \
"prompt-1.csv" \
"7b" \
"You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information."
Loading

0 comments on commit 21c2ee5

Please sign in to comment.