π extractΒΆ
Note
ID: templates.span_labeling.extraction.extract | Type: SpanLabelingTemplate
{
"input_format": "{text_type}: {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"
],
"type": "span_labeling_template"
}
References: processors.to_span_label_pairs
Read more about catalog usage here.