From e6557f5edeca39eca4de14a0c949ad4edf0f0dd7 Mon Sep 17 00:00:00 2001 From: Chansung Park Date: Tue, 13 Feb 2024 10:20:55 +0900 Subject: [PATCH] Update provision_translation_instance.py --- py/provision_translation_instance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/provision_translation_instance.py b/py/provision_translation_instance.py index fca1e34a..94abc143 100644 --- a/py/provision_translation_instance.py +++ b/py/provision_translation_instance.py @@ -144,7 +144,7 @@ def main(args): parser = argparse.ArgumentParser() parser.add_argument('--dstack-token', type=str, default="") parser.add_argument('--dstack-project', type=str, default="deep-diver-main") - parser.add_argument('--dstack-run-name', type=str, default="paper-ko-translation-run") + parser.add_argument('--dstack-run-name', type=str, default="paper_ko_translation_run") parser.add_argument('--dstack-python-version', type=str, default="3.10") parser.add_argument('--github-token', type=str, default="") @@ -156,7 +156,7 @@ def main(args): parser.add_argument('--target-archive-github-repo', type=str, default="deep-diver/hf-daily-paper-newsletter") parser.add_argument('--target-archive-dir', type=str, default="translated-papers") - parser.add_argument('--num-of-workers', type=int, default=1) + parser.add_argument('--num-of-workers', type=int, default=4) parser.add_argument('--hf-token', type=str, default=None) parser.add_argument('--model-name', type=str, default="nlp-with-deeplearning/enko-t5-small-v0")