1. 22 May, 2019 2 commits
    • Matt Le's avatar
      Fix semisupervised translation · c11aaf14
      Matt Le authored
      Summary: Fixes semisupervised translation task to deal with change in order of data loading and model creation (D15428242).  When we build the model, we create the backtranslation function, which we can then pass in to the constructor of BacktranslationDataset
      
      Reviewed By: myleott
      
      Differential Revision: D15455420
      
      fbshipit-source-id: 95101ca92f8af33702be3416147edd98da135a20
      c11aaf14
    • zhiqiang's avatar
      Remove duplicate code (#754) · 886ef6bc
      zhiqiang authored
      Summary:
      Remove duplicate definition of PositionalEmbedding in `lightconv.py`
      Pull Request resolved: https://github.com/pytorch/fairseq/pull/754
      
      Differential Revision: D15451443
      
      Pulled By: myleott
      
      fbshipit-source-id: a3d82ab2c1335d66be3c5d67a07893162d138c7a
      886ef6bc
  2. 21 May, 2019 3 commits
  3. 20 May, 2019 4 commits
  4. 19 May, 2019 1 commit
  5. 17 May, 2019 2 commits
  6. 16 May, 2019 5 commits
  7. 15 May, 2019 7 commits
  8. 14 May, 2019 3 commits
    • Myle Ott's avatar
      rm default_key from MultiCorpusSampledDataset · 7432130e
      Myle Ott authored
      Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/575
      
      Differential Revision: D15318004
      
      Pulled By: myleott
      
      fbshipit-source-id: ad918d71b1bd8074decf5ec3463dd9bc9487bbe9
      7432130e
    • Nayan Singhal's avatar
      Alignment Training task using minibatch · 2c278ff0
      Nayan Singhal authored
      Summary:
      1. Define a EpochMinibatchIterator which extends the EpochBatchIterator. It has same functionality as EpochBatchIterator except two major changes: use static batching and use MiniBatchIterator for getting the indices.
      
      2. SplitSeqCollater is used instead of Seq2SeqCollater.
      3. LSTM_subsample started storing the previous states and reset it once the sample is over.
      
      Reviewed By: jay-mahadeokar
      
      Differential Revision: D15209023
      
      fbshipit-source-id: 900b8bd1f25159ffc77f8106e26729a3e7422a1f
      2c278ff0
    • Dmytro Okhonko's avatar
      Move save/load checkpoint functions to utils · cd1e5c09
      Dmytro Okhonko authored
      Summary:
      Move `load_checkpoint`, `save_checkpoint` and `reload_train` from train.py to checkpoint_utils.py
      Move `get_perplexity` from train.py to utils.py.
      This will make train.py lighter and allow us to reuse all this utils functionality when fairseq is used as external library.
      
      Reviewed By: myleott
      
      Differential Revision: D15289607
      
      fbshipit-source-id: 4b7c95225ac22e402bcda3497811361809110df1
      cd1e5c09
  9. 13 May, 2019 4 commits
  10. 12 May, 2019 2 commits
  11. 11 May, 2019 2 commits
  12. 10 May, 2019 2 commits
  13. 09 May, 2019 3 commits