Text this: A comparative analysis of encoder only and decoder only models in intent classification and sentiment analysis