Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 2077649

Browse files
author
Mesh TensorFlow Team
committed
Internal
PiperOrigin-RevId: 349465695
1 parent abb3fad commit 2077649

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mesh_tensorflow/transformer/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ def _verify_feature_exists(feature_name, should_exist):
453453
(mode, model_type, "" if should_exist else " not", feature_name))
454454
if "lm" in model_type:
455455
message += (
456-
"\nA common mistake is that model_type=\"lm\" should be used "
457-
"with tasks that produce inputs and targets, while "
458-
"model_type=\"delimited_lm\" should be used with tasks that "
459-
"produce targets only.")
456+
"\nA common mistake is that model_type=\"delimited_lm\" should "
457+
"be used with tasks that produce inputs and targets, while "
458+
"model_type=\"lm\" should be used with tasks that produce "
459+
"targets only.")
460460
raise ValueError(message)
461461

462462
# Verify that the right features exist, and transform them if necessary

0 commit comments

Comments
 (0)