Skip to content

Commit

Permalink
v0.3.0b6
Browse files Browse the repository at this point in the history
  • Loading branch information
wasertech committed Mar 13, 2023
1 parent a6ceaa4 commit a297a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion translator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from translator.translate import Translator
from translator.language import get_nllb_lang

__version__ = "0.3.0b5"
__version__ = "0.3.0b6"

LANGS = get_nllb_lang()
2 changes: 1 addition & 1 deletion translator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def parse_arguments():
argument_parse.add_argument('-m', '--model_id', default="facebook/nllb-200-distilled-600M", help="HuggingFace model ID to use.")
argument_parse.add_argument('-p', '--pipeline', default="translation", help="Pipeline task to use.")
argument_parse.add_argument('-b', '--batch_size', default=128, type=int, help="Number of sentences to batch for translation.")
argument_parse.add_argument('-n', '--nproc', default=4, type=int, help="Number of process to spawn for filtering untraslated sentences.")
argument_parse.add_argument('-n', '--nproc', default=4, type=int, help="Number of process(es) to spawn for batch translation.")
argument_parse.add_argument('-e', '--nepoch', default=1, type=int, help="Number of epoch(s) to translate batched sentences.")
argument_parse.add_argument('-L', '--language_list', action='store_true', help="Show list of languages.")

Expand Down

0 comments on commit a297a79

Please sign in to comment.