1. 17 Jul, 2019 1 commit
  2. 27 Jun, 2019 1 commit
  3. 30 Apr, 2019 1 commit
  4. 12 Mar, 2019 1 commit
    • Dmytro Okhonko's avatar
      Handle 3+ dimensional input in sequence_generator + nits · 860010e9
      Dmytro Okhonko authored
      Summary: sequence_generator assumes that model input is 2d tensor of longs. But it can be something like 3d tensor of floats and we should be able to handle this as long as first dimension is batch size followed by source lengths.
      
      Reviewed By: myleott
      
      Differential Revision: D14420044
      
      fbshipit-source-id: bf8b1e42ad1873f7b803c1a377b0af21648db015
      860010e9
  5. 11 Mar, 2019 1 commit
    • Matt Le's avatar
      Create fairseq_cli_lib · 7fc9a3be
      Matt Le authored
      Summary: This allows one to call fairseq_cli functions from within python without dispatching to bash.
      
      Reviewed By: myleott
      
      Differential Revision: D14404719
      
      fbshipit-source-id: 044eb652045bb15fc40e72ecbaf6fb10df9f8c61
      7fc9a3be
  6. 28 Feb, 2019 1 commit
  7. 22 Feb, 2019 1 commit
  8. 16 Feb, 2019 1 commit
  9. 05 Feb, 2019 1 commit
  10. 30 Jan, 2019 1 commit
    • Myle Ott's avatar
      Merge internal changes (#483) · 42be3ebd
      Myle Ott authored
      Summary:
      Changelog:
      - `4889802`: can now remove detokenize sentencepiece output with `--remove-bpe=sentencepiece` (fixes #331). Also added `--sacrebleu` for computing detokenized BLEU.
      - `0d76427`: fix assertion error when training language model with dataset containing empty sentences
      - minor bug and style fixes
      Pull Request resolved: https://github.com/pytorch/fairseq/pull/483
      
      Differential Revision: D13867899
      
      Pulled By: myleott
      
      fbshipit-source-id: 25c940b847fe270262ac8f5ac838407b3977fdda
      42be3ebd
  11. 16 Jan, 2019 1 commit
    • Davide Caroselli's avatar
      FIX: '--user-dir' on multi-gpu (#449) · 7853818c
      Davide Caroselli authored
      Summary:
      On a multi-gpu training scenario, the `train.py` script spawns new processes with `torch.multiprocessing.spawn`. Unfortunately those child processes don't inherit the modules imported with `--user-dir`.
      
      This pull request fixes this problem: custom module import in now explicit on every `main()` function.
      Pull Request resolved: https://github.com/pytorch/fairseq/pull/449
      
      Differential Revision: D13676922
      
      Pulled By: myleott
      
      fbshipit-source-id: 520358d66155697885b878a37e7d0484bddbc1c6
      7853818c
  12. 05 Jan, 2019 1 commit
  13. 26 Dec, 2018 1 commit
    • Myle Ott's avatar
      Merge internal changes (#422) · 8ce6499d
      Myle Ott authored
      Summary:
      - 04cc608: Add `--match-source-len` option to generate.py to for sequence-tagging tasks
      - 19f1a40: Add `--no-repeat-ngram-size` option to generate.py for ngram blocking
      Pull Request resolved: https://github.com/pytorch/fairseq/pull/422
      
      Differential Revision: D13548445
      
      Pulled By: myleott
      
      fbshipit-source-id: 26d1ae83993e428fcb020dac5ae358b0e36233d9
      8ce6499d
  14. 03 Sep, 2018 4 commits
  15. 25 Jul, 2018 2 commits
  16. 08 Jul, 2018 1 commit
  17. 21 Jun, 2018 1 commit
  18. 15 Jun, 2018 10 commits
  19. 02 Apr, 2018 1 commit
    • Myle Ott's avatar
      Merge internal changes (#136) · d3795d6c
      Myle Ott authored
      Changes:
      - 7d19e36: Add `--sampling` flag to generate.py to sample instead of doing beam search
      - c777340: Add `scripts/average_checkpoints.py` to average multiple checkpoints into a combined model
      - 3ea882c: Add `--max-update` option to train.py to stop training after a given number of updates
      - small bugfixes for distributed training, LSTM, inverse square root LR scheduler
      d3795d6c
  20. 05 Mar, 2018 1 commit
  21. 01 Mar, 2018 1 commit
  22. 27 Feb, 2018 3 commits
    • Dario Pavllo's avatar
      Add support to prefixes (#221) · 866b27d5
      Dario Pavllo authored
      * Add prefix
      
      * Fixes
      
      * Keep original scores with prefix
      
      * Improve prefix code
      
      * Replace 'repeat' with 'expand'
      866b27d5
    • 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
  23. 22 Jan, 2018 2 commits
  24. 13 Nov, 2017 1 commit