1. 08 Nov, 2017 3 commits
    • 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
    • Michael Auli's avatar
    • Myle Ott's avatar
      Refactor model definitions · 6e4b7e22
      Myle Ott authored
      * Move some functionality out of FConvModel into FairseqModel base class
      * Move incremental decoding functionality into FairseqIncrementalDecoder module
      * Refactor positional embeddings to be more specific to FConvModel
      6e4b7e22
  2. 19 Oct, 2017 5 commits
  3. 11 Oct, 2017 3 commits
  4. 26 Sep, 2017 1 commit
  5. 18 Sep, 2017 1 commit
  6. 15 Sep, 2017 1 commit