"src/vscode:/vscode.git/clone" did not exist on "b2b3b1a8ab83b020ecaf32f45de3ef23644331cf"
  1. 03 Oct, 2018 1 commit
    • Liezl Puzon's avatar
      Pass in kwargs and SequenceGenerator class to init BacktranslationDataset · f766c9a0
      Liezl Puzon authored
      Summary: This generalizes BacktranslationDataset to allow us to use any SequenceGenerator class. For example, if we want to use this model in PyTorch Translate, we can pass the following to BacktraanslationDataset init: (1) a PyTorch Translate SequenceGenerator class as generator_class and (2) the appropriate args for initializing that class as kwargs.
      
      Reviewed By: xianxl
      
      Differential Revision: D10156552
      
      fbshipit-source-id: 0495d825bf4727da96d0d9a40dc434135ff3486c
      f766c9a0
  2. 02 Oct, 2018 2 commits
    • Michael Auli's avatar
      Update README.md · df88ba95
      Michael Auli authored
      Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/300
      
      Differential Revision: D10154711
      
      Pulled By: edunov
      
      fbshipit-source-id: 859d1ac59923b67c1547b6f7acb94f801b0c3318
      df88ba95
    • Liezl Puzon's avatar
      Explicitly list out generation args for backtranslation dataset · 86e93f2b
      Liezl Puzon authored
      Summary:
      Using argparse Namespace hides the actual args that are expected and makes code harder to read.
      
      Note the difference in style for the args list
      
          def __init__(
              self,
              tgt_dataset,
              tgt_dict,
              backtranslation_model,
              unkpen,
              sampling,
              beam,
              max_len_a,
              max_len_b,
          ):
      
      instead of
      
          def __init__(
              self, tgt_dataset, tgt_dict, backtranslation_model, unkpen, sampling,
              beam,  max_len_a, max_len_b,
          ):
      
      Reviewed By: dpacgopinath
      
      Differential Revision: D10152331
      
      fbshipit-source-id: 6539ccba09d48acf23759996b7e32fb329b3e3f6
      86e93f2b
  3. 01 Oct, 2018 1 commit
  4. 30 Sep, 2018 3 commits
  5. 25 Sep, 2018 18 commits
  6. 24 Sep, 2018 2 commits
  7. 18 Sep, 2018 4 commits
  8. 07 Sep, 2018 1 commit
  9. 04 Sep, 2018 1 commit
  10. 03 Sep, 2018 7 commits