b1bfb8b4159dca7e057c3253dbd519984865b893,examples/transformer_standalone.py,,,#,41

Before Change


                        "is the global batch size and not the per-shard batch.")
tf.flags.DEFINE_float("dropout", 0.1, "dropout")
tf.flags.DEFINE_float("label_smoothing", 0.1, "label smoothing")
tf.flags.DEFINE_integer(
    "train_steps", 100000, "Total number of training steps.")

// DISTRIBUTED LAYOUT
// When running on TPU, make sure that the size of the mesh
// (the product of all dimension sizes) equals the number of TPU cores.

After Change


    ,
    "data_dir for TensorFlow Datasets"
)
tf.flags.DEFINE_boolean(
    "text2self",
    False,
    "Whether to train a language model (True) or encoder-decoder text-to-text "
    "model (False)."
)

// MODEL HYPERPARAMETERS
tf.flags.DEFINE_integer("max_length", 256,
                        "maximum sequence length (checkpoints depend on this)")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: tensorflow/mesh
Commit Name: b1bfb8b4159dca7e057c3253dbd519984865b893
Time: 2019-03-12
Author: craffel@google.com
File Name: examples/transformer_standalone.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 1a373808860406660c084f5fab1bada9c17e7091
Time: 2017-10-11
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: b33ab691edd877e7ec9a904b05c059f2ab316ca8
Time: 2017-09-24
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 1a373808860406660c084f5fab1bada9c17e7091
Time: 2017-10-11
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name: