Question 11
Consider the T5 "text-to-text" paradigm. How does the model process fundamentally different tasks such as Semantic Similarity (continuous regression) and Sentiment Analysis (discrete classification) during the fine-tuning phase?
The model uses the encoder to output the regression score and decoder for the classification tokens switching based on the input prompt.
The decoder part of the model is appended with separate prediction heads for regression and classification which are updated based on Mean Squared Error and Cross-Entropy respectively.
The model treats both tasks as sequence generation objectives with task- specific prefix added in the input and all output is generated as strings.
None of these.