π grammatical_error_correctionΒΆ
Note
ID: tasks.grammatical_error_correction | Type: FormTask
{
"inputs": [
"original_text"
],
"metrics": [
"metrics.char_edit_dist_accuracy",
"metrics.rouge",
"metrics.char_edit_distance[reference_field=original_text]"
],
"outputs": [
"corrected_texts"
],
"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.rouge, metrics.char_edit_dist_accuracy
Read more about catalog usage here.