abb3fad266b933efcabbd4f208d515a495127a4f,mesh_tensorflow/transformer/utils.py,,eval_model,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,1710

Before Change


          else:
            targets.append(
                eval_dataset.postprocess_fn(
                    ex["targets"], example=ex, is_target=True)
            )
        if output_eval_examples:
          targets_filename = os.path.join(

After Change


            inputs.append(ex["inputs_pretokenized"])
          if "targets_pretokenized" in ex:
            targets_pretokenized = ex["targets_pretokenized"]
            if isinstance(targets_pretokenized, bytes):
              targets_pretokenized = targets_pretokenized.decode("utf-8")
            targets.append(
                eval_dataset.postprocess_fn(
                    targets_pretokenized, example=ex, is_target=True)
            )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: tensorflow/mesh
Commit Name: abb3fad266b933efcabbd4f208d515a495127a4f
Time: 2020-12-21
Author: fjord@google.com
File Name: mesh_tensorflow/transformer/utils.py
Class Name:
Method Name: eval_model


Project Name: explosion/thinc
Commit Name: ceb99938276651655cb4b6f41f4c1d7d993eb4c2
Time: 2017-06-01
Author: honnibal+gh@gmail.com
File Name: thinc/neural/_classes/model.py
Class Name: Model
Method Name: from_bytes


Project Name: VOLTTRON/volttron
Commit Name: 44ec9da9fb71f81f2d50d4df359f73c4434fb614
Time: 2020-06-22
Author: james.larson@pnnl.gov
File Name: services/core/MasterDriverAgent/master_driver/interfaces/ecobee.py
Class Name:
Method Name: make_ecobee_request


Project Name: VOLTTRON/volttron
Commit Name: f4560aadbf6ff350e916a934b02e60c9292101a4
Time: 2020-06-02
Author: james.larson@pnnl.gov
File Name: services/core/MasterDriverAgent/master_driver/interfaces/ecobee.py
Class Name:
Method Name: make_ecobee_request