Converts text to unicode, assuming utf-8 input. Returns text encoded in a way suitable for print or tf.compat.v1.logging.
previous
cerebras.modelzoo.data.nlp.bert.bert_utils.build_vocab
next
cerebras.modelzoo.data.nlp.bert.bert_utils.create_masked_lm_predictions