π relationΒΆ
Note
ID: tasks.classification.multi_class.relation | Type: FormTask
{
"augmentable_inputs": [
"text_a",
"text_b"
],
"inputs": [
"text_a",
"text_a_type",
"text_b",
"text_b_type",
"classes",
"type_of_relation"
],
"metrics": [
"metrics.f1_micro",
"metrics.accuracy",
"metrics.f1_macro"
],
"outputs": [
"label"
],
"type": "form_task"
}
Explanation about FormTaskΒΆ
FormTask packs the different instance fields into dictionaries by their roles in the task.
- The output instance contains three fields:
βinputsβ whose value is a sub-dictionary of the input instance, consisting of all the fields listed in Arg βinputsβ. βoutputsβ β for the fields listed in Arg βoutputsβ. βmetricsβ β to contain the value of Arg βmetricsβ
References: metrics.accuracy, metrics.f1_micro, metrics.f1_macro
Read more about catalog usage here.