Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
nlp
ahisto-modules
Named Entity Recognition Experiments
Commits
16f1e88d
Commit
16f1e88d
authored
Aug 15, 2022
by
Vít Novotný
Browse files
Use 4 jobs to train NER model at most
parent
590372a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/03_train_ner_models.sh
View file @
16f1e88d
...
...
@@ -12,7 +12,7 @@ SCHEDULE_NAME=fine-tuning
DOCKER_BUILDKIT
=
1 docker build
--build-arg
UID
=
"
$(
id
-u
)
"
--build-arg
GID
=
"
$(
id
-g
)
"
--build-arg
UNAME
=
"
$(
id
-u
-n
)
"
.
-f
scripts//03_train_ner_models.Dockerfile
-t
"
$IMAGE_NAME
"
parallel
--halt
=
soon,fail
=
100%
--jobs
=
100%
--bar
--delay
60
\
parallel
--halt
=
soon,fail
=
100%
--jobs
=
4
--bar
--delay
60
\
--colsep
' +'
\
--
'
GPU_ID=$(nvidia-smi | grep -F -B 1 -- "0MiB / 15360MiB" | head -n 1 | awk "{ print \$2 }")
...
...
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