60 duplicated lines in: - pytorch_translate/beam_decode.py (285:387, 8%) - pytorch_translate/research/multisource/multisource_decode.py (212:314, 13%) 43 duplicated lines in: - pytorch_translate/beam_decode.py (511:563, 5%) - pytorch_translate/research/multisource/multisource_decode.py (433:485, 9%) 39 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (23:62, 45%) - pytorch_translate/transformer.py (225:264, 5%) 27 duplicated lines in: - pytorch_translate/beam_decode.py (567:601, 3%) - pytorch_translate/research/multisource/multisource_decode.py (486:520, 6%) 22 duplicated lines in: - pytorch_translate/beam_decode.py (481:509, 3%) - pytorch_translate/research/multisource/multisource_decode.py (404:432, 5%) 19 duplicated lines in: - pytorch_translate/beam_decode.py (36:86, 2%) - pytorch_translate/research/multisource/multisource_decode.py (31:71, 4%) 19 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (421:441, 3%) - pytorch_translate/transformer_aan.py (494:514, 2%) 18 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (681:698, 3%) - pytorch_translate/transformer_aan.py (847:864, 2%) 17 duplicated lines in: - pytorch_translate/beam_decode.py (107:133, 2%) - pytorch_translate/research/multisource/multisource_decode.py (80:106, 3%) 17 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (427:445, 3%) - pytorch_translate/transformer.py (585:602, 2%) 16 duplicated lines in: - pytorch_translate/beam_decode.py (14:29, 2%) - pytorch_translate/research/multisource/multisource_decode.py (14:29, 3%) 15 duplicated lines in: - pytorch_translate/generate.py (612:626, 2%) - pytorch_translate/research/knowledge_distillation/collect_top_k_probs.py (163:177, 9%) 15 duplicated lines in: - pytorch_translate/char_source_transformer_model.py (110:124, 5%) - pytorch_translate/research/rescore/cloze_transformer_model.py (27:41, 17%) 14 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (149:162, 2%) - pytorch_translate/transformer_aan.py (238:251, 1%) 11 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (125:138, 2%) - pytorch_translate/transformer_aan.py (212:225, 1%) 11 duplicated lines in: - pytorch_translate/beam_decode.py (467:477, 1%) - pytorch_translate/research/multisource/multisource_decode.py (391:401, 2%) 10 duplicated lines in: - pytorch_translate/hybrid_transformer_rnn.py (150:164, 2%) - pytorch_translate/research/knowledge_distillation/hybrid_dual_decoder_kd_model.py (82:96, 7%) 10 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (501:515, 1%) - pytorch_translate/transformer.py (718:733, 1%) 10 duplicated lines in: - pytorch_translate/beam_decode.py (443:452, 1%) - pytorch_translate/research/multisource/multisource_decode.py (362:371, 2%) 10 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (701:710, 1%) - pytorch_translate/transformer_aan.py (866:875, 1%) 10 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (86:101, 11%) - pytorch_translate/transformer_aan.py (500:509, 1%) 10 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (86:101, 11%) - pytorch_translate/transformer.py (585:594, 1%) 10 duplicated lines in: - pytorch_translate/hybrid_transformer_rnn.py (150:164, 2%) - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_model.py (82:96, 7%) 10 duplicated lines in: - pytorch_translate/beam_decode.py (263:280, 1%) - pytorch_translate/research/multisource/multisource_decode.py (193:210, 2%) 10 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (542:554, 1%) - pytorch_translate/transformer.py (753:765, 1%) 9 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (655:663, 1%) - pytorch_translate/transformer.py (848:857, 1%) 9 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (245:255, 1%) - pytorch_translate/transformer_aan.py (292:302, 1%) 9 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (667:677, 1%) - pytorch_translate/transformer_aan.py (758:768, 1%) 9 duplicated lines in: - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_loss.py (94:102, 7%) - pytorch_translate/weighted_criterions.py (35:43, 18%) 9 duplicated lines in: - pytorch_translate/beam_decode.py (158:166, 1%) - pytorch_translate/research/multisource/multisource_decode.py (125:133, 2%) 8 duplicated lines in: - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_model.py (128:135, 5%) - pytorch_translate/transformer_aan.py (259:266, 1%) 8 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (374:386, 1%) - pytorch_translate/transformer_aan.py (415:427, 1%) 8 duplicated lines in: - pytorch_translate/hybrid_transformer_rnn.py (180:187, 1%) - pytorch_translate/research/knowledge_distillation/hybrid_dual_decoder_kd_model.py (125:132, 6%) 8 duplicated lines in: - pytorch_translate/hybrid_transformer_rnn.py (180:187, 1%) - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_model.py (128:135, 5%) 8 duplicated lines in: - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_model.py (128:135, 5%) - pytorch_translate/transformer.py (274:281, 1%) 8 duplicated lines in: - pytorch_translate/research/knowledge_distillation/hybrid_dual_decoder_kd_model.py (125:132, 6%) - pytorch_translate/transformer_aan.py (259:266, 1%) 8 duplicated lines in: - pytorch_translate/research/knowledge_distillation/hybrid_dual_decoder_kd_model.py (125:132, 6%) - pytorch_translate/transformer.py (274:281, 1%) 8 duplicated lines in: - pytorch_translate/common_layers.py (528:536, 1%) - pytorch_translate/research/deliberation_networks/deliberation_networks.py (127:135, 1%) 8 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (669:677, 1%) - pytorch_translate/transformer.py (869:877, 1%) 7 duplicated lines in: - pytorch_translate/generate.py (719:725, 1%) - pytorch_translate/research/knowledge_distillation/collect_top_k_probs.py (120:126, 4%) 7 duplicated lines in: - pytorch_translate/beam_decode.py (88:94, <1%) - pytorch_translate/research/multisource/multisource_decode.py (72:78, 1%) 7 duplicated lines in: - pytorch_translate/benchmark.py (133:139, 4%) - pytorch_translate/research/knowledge_distillation/collect_top_k_probs.py (120:126, 4%) 7 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (288:294, 1%) - pytorch_translate/transformer_aan.py (332:338, <1%) 7 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (543:552, 1%) - pytorch_translate/transformer_aan.py (663:672, <1%) 7 duplicated lines in: - pytorch_translate/generate.py (709:715, 1%) - pytorch_translate/research/knowledge_distillation/collect_top_k_probs.py (108:114, 4%) 7 duplicated lines in: - pytorch_translate/benchmark.py (125:131, 4%) - pytorch_translate/research/knowledge_distillation/collect_top_k_probs.py (108:114, 4%) 7 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (25:31, 8%) - pytorch_translate/transformer_aan.py (224:230, <1%) 7 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (612:618, 1%) - pytorch_translate/transformer_aan.py (740:746, <1%) 7 duplicated lines in: - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_loss.py (143:149, 5%) - pytorch_translate/sequence_criterions.py (154:160, 4%) 6 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (51:56, 7%) - pytorch_translate/transformer.py (244:249, <1%) 6 duplicated lines in: - pytorch_translate/research/rescore/cloze_transformer_model.py (42:47, 7%) - pytorch_translate/transformer.py (253:258, <1%) 6 duplicated lines in: - pytorch_translate/beam_decode.py (431:437, <1%) - pytorch_translate/research/multisource/multisource_decode.py (354:360, 1%) 6 duplicated lines in: - pytorch_translate/research/multisource/multisource_decode.py (538:543, 1%) - pytorch_translate/rnn.py (40:45, <1%) 6 duplicated lines in: - pytorch_translate/char_source_hybrid.py (159:164, 2%) - pytorch_translate/research/knowledge_distillation/dual_decoder_kd_model.py (91:96, 4%) 6 duplicated lines in: - pytorch_translate/research/deliberation_networks/deliberation_networks.py (392:397, 1%) - pytorch_translate/transformer_aan.py (430:435, <1%) 6 duplicated lines in: - pytorch_translate/char_source_hybrid.py (159:164, 2%) - pytorch_translate/research/knowledge_distillation/hybrid_dual_decoder_kd_model.py (91:96, 4%)