How Generative AI and LLMs Work

In this lesson, we will learn Generative AI and LLM concepts. What Generative AI is, how LLMs generate answers, and the concepts of token, context window, training, inference, fine-tuning, hallucination and prompt will be explained in simple terms. ## Lesson objective In this lesson, we will learn how Generative AI and LLMs work. In the previous lesson, we explained the difference between AI, Machine Learning and Deep Learning. AI is the broadest concept, Machine Learning is an approach that learns from data, and Deep Learning is a field that learns more complex patterns through neural networks.