fairseq/tests
Matt Le 5408bc0821 Fix loading XLM pretraining
Summary: We never actually load the model parameters from an XLM model when using tranformer_from_pretrained_xlm.  Also, change encoder_learned_pos from True -> False

Reviewed By: liezl200

Differential Revision: D15629061

fbshipit-source-id: 759eadc88041eae94505477960de57dd78a99dcb
2019-06-04 15:36:55 -07:00
..
__init__.py fairseq-py goes distributed (#106) 2018-02-27 17:09:42 -05:00
test_average_checkpoints.py Implement reducing footprint of average checkpoint correctly (#747) 2019-05-24 12:12:24 -07:00
test_backtranslation_dataset.py Back translation + denoising in MultilingualTranslation task (#620) 2019-04-10 10:56:51 -07:00
test_binaries.py Fix loading XLM pretraining 2019-06-04 15:36:55 -07:00
test_character_token_embedder.py fix tests 2018-09-03 19:15:23 -04:00
test_concat_dataset.py Make ConcatDataset work in PytorchTranslateTask multi-path dataset loading (#730) 2019-05-20 11:31:53 -07:00
test_convtbc.py Remove more Variable() calls (#198) 2018-06-25 12:23:04 -04:00
test_dictionary.py Move string line encoding logic from tokenizer to Dictionary (unified diff). (#541) 2019-02-28 09:19:12 -08: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_multi_corpus_sampled_dataset.py rm default_key from MultiCorpusSampledDataset 2019-05-14 16:45:21 -07:00
test_noising.py Refactor BacktranslationDataset to be more reusable (#354) 2018-11-25 21:26:03 -08:00
test_reproducibility.py Merge internal changes (#654) 2019-04-29 19:50:58 -07:00
test_sequence_generator.py Modularize generate.py (#351) 2019-02-22 10:08:52 -08:00
test_sequence_scorer.py Modularize generate.py (#351) 2019-02-22 10:08:52 -08:00
test_token_block_dataset.py Improve init speed of TokenBlockDataset and EpochBatchIterator 2019-05-07 07:08:53 -07:00
test_train.py Add --reset-dataloader 2019-05-30 11:41:40 -07:00
test_utils.py Simplify and generalize utils.make_positions 2019-04-15 07:32:11 -07:00
utils.py Updates to model API (#561) 2019-05-15 07:12:41 -07:00