πŸ“„ TitleΒΆ

Note

ID: templates.classification.multi_label.title | Type: MultiLabelTemplate

{
    "__type__": "multi_label_template",
    "input_format": "{text_type}: {text}",
    "instruction": "What are the {type_of_classes} expressed in following {text_type}?\nSelect your answer from the options: {classes}.\nIf no {type_of_classes} are expressed answer none.",
    "labels_field": "labels",
    "output_format": "{labels}",
    "postprocessors": [
        "processors.take_first_non_empty_line",
        "processors.lower_case",
        "processors.to_list_by_comma",
        "processors.remove_none_from_list"
    ],
    "target_prefix": "{type_of_classes}:\n",
    "title_fields": [
        "type_of_classes",
        "text_type"
    ]
}

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

Read more about catalog usage here.