1. 08 Aug, 2019 1 commit
  2. 30 Jul, 2019 1 commit
  3. 29 Jul, 2019 1 commit
  4. 28 Feb, 2019 1 commit
  5. 24 Jan, 2019 1 commit
    • Davide Caroselli's avatar
      Enforce UTF-8 when open() text files (#460) · 38f1dee9
      Davide Caroselli authored
      Summary:
      When opening text files without specifying the encoding (i.e. `open(path, "r")` or `open(path, "w")`), python3 will use the preferred locale encoding (`locale.getpreferredencoding()`) so the result is platform dependent and can change from one machine to another.
      
      I believe fairseq should enforce its standard (UTF-8 seems like the best choice to me). This pull request explicity specify UTF-8 encoding when reading text files.
      Pull Request resolved: https://github.com/pytorch/fairseq/pull/460
      
      Differential Revision: D13802525
      
      Pulled By: myleott
      
      fbshipit-source-id: 672fd55707ee559ab36d74bc1c24026166ea2367
      38f1dee9
  6. 05 Jan, 2019 1 commit
  7. 25 Sep, 2018 2 commits
  8. 15 Jun, 2018 2 commits
  9. 22 May, 2018 1 commit
  10. 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
  11. 27 Feb, 2018 1 commit
    • 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
  12. 12 Jan, 2018 1 commit
  13. 19 Oct, 2017 1 commit
  14. 15 Sep, 2017 1 commit