a1c8b5087df217373c377a6c8b9fcddad5c84d5f,torchtext/datasets/iwslt2016.py,,IWSLT2016,#Any#Any#Any#Any#Any#,225

Before Change



    src_language, tgt_language = language_pair[0], language_pair[1]

    if src_language not in SUPPORTED_DATASETS["language_pair"].keys():
        raise ValueError("src_language "{}" is not valid. Supported source languages are {}".
                         format(src_language, SUPPORTED_DATASETS["language_pair"].keys()))

After Change


        for item in zip(src_data_iter, tgt_data_iter):
            yield item

    return RawTextIterableDataset("IWSLT2016", NUM_LINES[split][num_lines_set_identifier[split]][tuple(sorted(language_pair))], _iter(src_data_iter, tgt_data_iter))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pytorch/text
Commit Name: a1c8b5087df217373c377a6c8b9fcddad5c84d5f
Time: 2021-02-24
Author: parmeetbhatia@fb.com
File Name: torchtext/datasets/iwslt2016.py
Class Name:
Method Name: IWSLT2016


Project Name: pantsbuild/pants
Commit Name: 52c7c260e7c0a85e6b051af48b46e8fe9493b117
Time: 2020-08-04
Author: benjyw@gmail.com
File Name: src/python/pants/core/util_rules/determine_source_files.py
Class Name:
Method Name: determine_specified_source_files


Project Name: pytorch/text
Commit Name: a1c8b5087df217373c377a6c8b9fcddad5c84d5f
Time: 2021-02-24
Author: parmeetbhatia@fb.com
File Name: torchtext/datasets/iwslt2017.py
Class Name:
Method Name: IWSLT2017