π Entities SentimentΒΆ
Note
ID: templates.targeted_sentiment_extraction.entities_sentiment | Type: SpanLabelingTemplate
{
"__type__": "span_labeling_template",
"input_format": "From the following {text_type}, identify entities with sentiment: positive, negative, neutral.\n{text_type}: {text}\n",
"postprocessors": [
"processors.to_span_label_pairs"
]
}
References: processors.to_span_label_pairs
Read more about catalog usage here.