diff --git a/mammoth/model_builder.py b/mammoth/model_builder.py index 26ec9cd8..05de3e86 100644 --- a/mammoth/model_builder.py +++ b/mammoth/model_builder.py @@ -284,7 +284,7 @@ def build_task_specific_model( task_queue_manager, checkpoint, ): - + src_embs = dict() tgt_embs = dict() diff --git a/mammoth/opts.py b/mammoth/opts.py index 1eab96b7..9f672152 100644 --- a/mammoth/opts.py +++ b/mammoth/opts.py @@ -649,7 +649,6 @@ def _add_train_general_opts(parser): "Recommended value: same as accum_count, or at least a multiple of it." ) - group = parser.add_argument_group('Optimization') group.add( '--optim',