Is there a way to handle instances where the target is a "missing value"? So in addition to proper labels, maybe if the target is something like the empty string or some configurable value (e.g. "NA"), the head would treat this as a missing value, and exclude it from the calculation of the loss function.
This would be very useful in multitask-learning where not all target values are available for all tasks (I have data where this is the case and I need some way to train a multi-task model on that).
Originally I thought there could maybe a different way to achieve this by having a separate data column in the data which indiciates the tasks for which each example can be used and then creating batches that only contain examples for one task, going through all the tasks from batch to batch in a round-robin fashion.
But if there is a mechanism to represent "missing target" in some way, this may become easier and the missing target representation could e.g. be used to create batches that contain only examples with labels for a subset of all targets.
Is there a way to handle instances where the target is a "missing value"? So in addition to proper labels, maybe if the target is something like the empty string or some configurable value (e.g. "NA"), the head would treat this as a missing value, and exclude it from the calculation of the loss function.
This would be very useful in multitask-learning where not all target values are available for all tasks (I have data where this is the case and I need some way to train a multi-task model on that).
Originally I thought there could maybe a different way to achieve this by having a separate data column in the data which indiciates the tasks for which each example can be used and then creating batches that only contain examples for one task, going through all the tasks from batch to batch in a round-robin fashion.
But if there is a mechanism to represent "missing target" in some way, this may become easier and the missing target representation could e.g. be used to create batches that contain only examples with labels for a subset of all targets.