Comparative Analysis of CHATGPT and the evolution of language models