Skip to content

Commit

Permalink
adding missing character updates to machine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mshannon-sil committed Oct 12, 2023
1 parent adf9bb9 commit eb2bbb6
Show file tree
Hide file tree
Showing 6 changed files with 772,436 additions and 2 deletions.
1 change: 1 addition & 0 deletions machine/jobs/huggingface/hugging_face_nmt_model_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def create_model_trainer(self, corpus: ParallelTextCorpus) -> Trainer:
corpus,
src_lang=self._config.src_lang,
tgt_lang=self._config.trg_lang,
config=self._config,
)

def create_engine(self) -> TranslationEngine:
Expand Down
3 changes: 3 additions & 0 deletions machine/jobs/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ default:
max_steps: 20000
data_dir: ~/machine
batch_size: 1024
tokenizer:
update_src: false
update_trg: false
huggingface:
parent_model_name: facebook/nllb-200-1.3B
train_params:
Expand Down
Loading

0 comments on commit eb2bbb6

Please sign in to comment.