Skip to content

Commit

Permalink
Set default text preprocessing lowercase behavior to
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccorm committed Oct 12, 2023
1 parent e6b6bb9 commit 30837bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ludwig/schema/features/preprocessing/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class BaseTextPreprocessingConfig(BasePreprocessingConfig):
)

lowercase: bool = schema_utils.Boolean(
default=True,
default=False,
description="If true, converts the string to lowercase before tokenizing.",
parameter_metadata=FEATURE_METADATA[TEXT][PREPROCESSING]["lowercase"],
)
Expand Down Expand Up @@ -205,7 +205,7 @@ class TextOutputPreprocessingConfig(BaseTextPreprocessingConfig):
)

lowercase: bool = schema_utils.Boolean(
default=True,
default=False,
description="If true, converts the string to lowercase before tokenizing.",
parameter_metadata=FEATURE_METADATA[TEXT][PREPROCESSING]["lowercase"],
)
Expand Down

0 comments on commit 30837bd

Please sign in to comment.