Commit 16f1e88d authored by Vít Novotný's avatar Vít Novotný
Browse files

Use 4 jobs to train NER model at most

parent 590372a4
......@@ -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 }")
......
Supports Markdown
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