Exploring the Use of LLMs and BERT for Language Tasks