π DefaultΒΆ
templates.classification.multi_label.default
type: MultiLabelTemplate
input_format: "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.\nText: {text}\n{type_of_classes}: "
output_format: {labels}
labels_field: labels
postprocessors:
- processors.take_first_non_empty_line
- processors.lower_case
- processors.to_list_by_comma
- processors.remove_none_from_list
[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.