1. 27 Feb, 2018 2 commits
    • Myle Ott's avatar
      More unit test fixes · 0d90e35f
      Myle Ott authored
      0d90e35f
    • Myle Ott's avatar
      fairseq-py goes distributed (#106) · 66415206
      Myle Ott authored
      This PR includes breaking API changes to modularize fairseq-py and adds support for distributed training across multiple nodes.
      
      Changes:
      - c7033ef: add support for distributed training! See updated README for usage.
      - e016299: modularize fairseq-py, adding support for register_model, register_criterion, register_optimizer, etc.
      - 154e440: update LSTM implementation to use PackedSequence objects in the encoder, better following best practices and improving perf
      - 90c2973 and 1da6265: improve unit test coverage
      66415206
  2. 08 Nov, 2017 5 commits
    • Louis Martin's avatar
      2ef422f6
    • Myle Ott's avatar
      Fix flake8 lint · 3278e854
      Myle Ott authored
      3278e854
    • Myle Ott's avatar
      Fix interactive.py · e21901e8
      Myle Ott authored
      e21901e8
    • Myle Ott's avatar
      Improvements to data loader · 8f9dd964
      Myle Ott authored
      8f9dd964
    • Louis Martin's avatar
      Refactor generation · 7ae79c12
      Louis Martin authored
      * Split generate.py to generate.py and interactive.py and refactor code
      
      The main motivation behind these changes is to try to decorrelate use
      cases in order to implement future improvements such as unk replacement
      with original string during evaluation on test and writing predictions
      to output file.
      The previous implementation worked well but I found it difficult to
      integrate these future improvements.
      
      * Add --replace-unk arg to be used without align dict
      
      Replacing <unk> tokens can be beneficial even without an alignment
      dictionary.
      7ae79c12