Added `as_text` flag for model exporting, defaulted to True for backward compatibility.
Added `as_text` flag for model exporting, defaulted to True for backward compatibility.

PiperOrigin-RevId: 251323621

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