π TitleΒΆ
Note
ID: templates.span_labeling.extraction.title | Type: SpanLabelingTemplate
{
"__type__": "span_labeling_template",
"input_format": "{text_type}:\n{text}",
"instruction": "From the following {text_type}, extract the objects for which the {class_type} expressed is one of {classes}.",
"postprocessors": [
"processors.to_span_label_pairs"
],
"target_prefix": "{class_type}:\n",
"title_fields": [
"text_type",
"class_type"
]
}
References: processors.to_span_label_pairs
Read more about catalog usage here.