Introduction to language models and ChatGPT