πŸ“„ Take First Non Empty LineΒΆ

processors.take_first_non_empty_line

PostProcess(
    process_references=True,
    process_prediction=True,
    operator=TakeFirstNonEmptyLine(),
)
[source]

from unitxt.processors import TakeFirstNonEmptyLine

Read more about catalog usage here.