fairseq/tests
Myle Ott 3c19878f71 Refactor BacktranslationDataset to be more reusable (#354)
Summary:
- generalize AppendEosDataset -> TransformEosDataset
- remove EOS logic from BacktranslationDataset (use TransformEosDataset instead)
- BacktranslationDataset takes a backtranslation_fn instead of building the SequenceGenerator itself
Pull Request resolved: https://github.com/pytorch/fairseq/pull/354

Reviewed By: liezl200

Differential Revision: D12970233

Pulled By: myleott

fbshipit-source-id: d5c5b0e0a75eca1bd3a50382ac24621f35c32f36
2018-11-25 21:26:03 -08:00
..
__init__.py fairseq-py goes distributed (#106) 2018-02-27 17:09:42 -05:00
test_average_checkpoints.py Merge internal changes (#136) 2018-04-02 10:13:07 -04:00
test_backtranslation_dataset.py Refactor BacktranslationDataset to be more reusable (#354) 2018-11-25 21:26:03 -08:00
test_binaries.py Fix proxying in DistributedFairseqModel 2018-10-03 16:22:35 -07:00
test_character_token_embedder.py fix tests 2018-09-03 19:15:23 -04:00
test_convtbc.py Remove more Variable() calls (#198) 2018-06-25 12:23:04 -04:00
test_dictionary.py Remove more Variable() calls (#198) 2018-06-25 12:23:04 -04:00
test_iterators.py Further generalize EpochBatchIterator and move iterators into new file 2018-09-03 19:15:23 -04:00
test_label_smoothing.py Add FairseqTask 2018-06-15 13:05:22 -06:00
test_noising.py Refactor BacktranslationDataset to be more reusable (#354) 2018-11-25 21:26:03 -08:00
test_reproducibility.py Add unit test to verify reproducibility after reloading checkpoints 2018-09-25 17:36:43 -04:00
test_sequence_generator.py Online backtranslation module 2018-09-25 17:36:43 -04:00
test_sequence_scorer.py Add FairseqTask 2018-06-15 13:05:22 -06:00
test_train.py core changes to support latte collab 2018-09-25 17:36:43 -04:00
test_utils.py Remove more Variable() calls (#198) 2018-06-25 12:23:04 -04:00
utils.py Fix tests + style nits + Python 3.5 compat 2018-11-01 01:28:30 -07:00