Commit 487a88fb authored by Sintal's avatar Sintal
Browse files

Update exexute_transformers_for_sag.sh

parent 460635e2
Pipeline #3698 failed with stage
in 17 seconds
!/bin/bash
#!/bin/bash
#create folder and change directory
mkdir -p transformers_for_SAG
mkdir -p ~/transformers_for_SAG
cd ~/transformers_for_SAG
#handle SSH-keys (the argument "$1" is the SSH-key to gitlab)
eval $(ssh-agent -s)
echo "$1" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
echo "$1" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
#pull gitlab repository
echo "pulling gitlab repository"
......@@ -21,3 +21,4 @@ conda activate env_transformers_for_SAG
echo "running python code"
python run_SAG.py --do_eval --data_dir data/glue_data/SST-2 --model_type bert --model_name_or_path 'bert-base-uncased' --task_name sst-2 --output_dir output
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment