Task-accuracy changing based on 'return_task_id' property #934
-
I need task labels for a custom task-specific metric I defined. However, this also changes the way the accuracies are calculated.
I want to maintain the results where ACC as in the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @Mattdl! What accuracy metrics are you referring to? Can you send us a minimal snippet of code to reproduce the issue? @AndreaCossu implemented this and may have additional insights! |
Beta Was this translation helpful? Give feedback.
-
Wait. Are you sure that this is a metric problem and not the labels? If I remember correctly, by default task_id=True also changes the labels. In the second task you will have labels 0 and 1 (instead of different ones for each task). If you have a single head, that's why you get 50% in a multitask instead of 0%. |
Beta Was this translation helpful? Give feedback.
Wait. Are you sure that this is a metric problem and not the labels? If I remember correctly, by default task_id=True also changes the labels. In the second task you will have labels 0 and 1 (instead of different ones for each task). If you have a single head, that's why you get 50% in a multitask instead of 0%.