π ExtractΒΆ
templates.span_labeling.extraction.extract
SpanLabelingTemplate(
input_format="{text_type}: {text}",
instruction="From the following {text_type}, extract the objects for which the entity type expressed is one of {entity_types}.",
postprocessors=[
"processors.to_span_label_pairs",
],
)
[source]References: processors.to_span_label_pairs
Read more about catalog usage here.