We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e957f2 commit 9e69742Copy full SHA for 9e69742
embeddings/pipeline/flair_preprocessing_pipeline.py
@@ -114,8 +114,7 @@ def _get_transformations(
114
ClassEncodeColumnTransformation(column=self.target_column_name)
115
)
116
117
- to_flair_dataset_transformation = self._get_dataset_transformation(data_loader)
118
- if to_flair_dataset_transformation:
+ if to_flair_dataset_transformation := self._get_dataset_transformation(data_loader):
119
transformation = transformation.then(to_flair_dataset_transformation)
120
121
if self.sample_missing_splits:
0 commit comments