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
e09c4abd
Commit
e09c4abd
authored
May 16, 2021
by
Sintal
Browse files
Update exexute_transformers_for_sag.sh
parent
d857a8d2
Pipeline
#3694
failed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
exexute_transformers_for_sag.sh
0 → 100644
View file @
e09c4abd
#!/bin/bash
mkdir
-p
transformers_for_SAG
cd
~/transformers_for_SAG
eval
$(
ssh-agent
-s
)
ssh-add ~/.ssh/gitlab_profile
git init
git pull git@transfer.hft-stuttgart.de:61sima1bif/transformers-for-sag.git
echo
"loading virtual environment"
eval
"
$(
conda shell.bash hook
)
"
conda
env
create
-f
environment.yml
echo
"activating new environment"
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