Enable beam search for examples with "knowledge" feature.
Enable beam search for examples with "knowledge" feature.

PiperOrigin-RevId: 234009368

tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor