Skip to content

Implementing a Machine translation system from English to French for a highly low resource parallel data for the course IFT-6759

Notifications You must be signed in to change notification settings

akshayrana30/Low-Resources-Machine-Translation

Repository files navigation

Low-Resources-Machine-Translation

Implementing a Machine translation system from English to French for the course IFT-6759

  1. To train a en-fr model.
python train.py --epoch=10 --seed=1234 
  1. To train a reverse(fr-en) model and generate files for back-translation
python train.py --epoch=10 reverse_translate=True generate_samples=True --seed=1234  
  1. To use these additional files created above.
python train.py --epoch=10 add_synthetic_data=True --seed=1234  
  1. To create your own word_embeddings.
python word2vec.py --lang=en --emb-dim=256 --vocab-size=20000  

Configure config.py for more control over all parameters and paths.

Steps for the evaluation:

python evaluator.py --input-file-path="path_to_en_file.txt" --target-file-path="path_to_org_fr_file.txt"

About

Implementing a Machine translation system from English to French for a highly low resource parallel data for the course IFT-6759

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •