Fixes to scoring with delimited_lm models. Make _dynamic_text2self work in the non-packed case. Remove newlines when writing newline-delimited text files.
Fixes to scoring with delimited_lm models.
Make _dynamic_text2self work in the non-packed case.
Remove newlines when writing newline-delimited text files.

PiperOrigin-RevId: 320969159

tensorflow/mesh,tensorflow/mesh