π simpleΒΆ
Note
ID: templates.regression.two_texts.simple | Type: OutputQuantizingTemplate
{
"input_format": "Given this sentence: '{text1}', on a scale of {min_value} to {max_value}, what is the {attribute_name} to this text '{text2}'?",
"output_format": "{attribute_value}",
"postprocessors": [
"processors.take_first_non_empty_line",
"processors.cast_to_float_return_zero_if_failed"
],
"quantum": 0.2,
"type": "output_quantizing_template"
}
References: processors.take_first_non_empty_line, processors.cast_to_float_return_zero_if_failed
Read more about catalog usage here.