def transformer_symshard_sh4():
  """4 shards instead of 8.  Similar model size to transformer_tpu()."""
  hparams = transformer_symshard_base()
  hparams.num_model_shards = 4
  return hparams
4 shards instead of 8.  Similar model size to transformer_tpu().
tensor2tensor/models/research/transformer_symshard.py