πŸ“„ TitleΒΆ

templates.classification.multi_label.title

MultiLabelTemplate(
    input_format="{text_type}: {text}",
    output_format="{labels}",
    target_prefix="{type_of_classes}:
",
    labels_field="labels",
    instruction="What are the {type_of_classes} expressed in following {text_type}?
Select your answer from the options: {classes}.
If no {type_of_classes} are expressed answer none.",
    postprocessors=[
        "processors.take_first_non_empty_line",
        "processors.lower_case",
        "processors.to_list_by_comma",
        "processors.remove_none_from_list",
    ],
    title_fields=[
        "type_of_classes",
        "text_type",
    ],
)
[source]

References: processors.take_first_non_empty_line, processors.remove_none_from_list, processors.to_list_by_comma, processors.lower_case

Read more about catalog usage here.