Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sintal
Transformers for SAG
Commits
487a88fb
Commit
487a88fb
authored
May 16, 2021
by
Sintal
Browse files
Update exexute_transformers_for_sag.sh
parent
460635e2
Pipeline
#3698
failed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
exexute_transformers_for_sag.sh
View file @
487a88fb
!
/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment