AI & AI Engineering
Generative AI & LLMs
Prepare for Generative AI and Large Language Models, including transformer architecture, prompt engineering, embeddings, model training, fine-tuning, evaluation, and practical LLM applications.
Your learning roadmap
Explore the key concepts
Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.
Generative AI fundamentals
Discover the fundamentals of generative AI, how it creates new content, its underlying technologies, and its applications in modern software.
Start learningIntroduction to Generative AI
Explore the evolution of generative AI, its capabilities, different model types, and how businesses use AI-generated content.
Start learningLarge Language Models (LLMs)
Understand how large language models are trained, how they process text, predict tokens, and generate human-like responses.
Start learningLLM architecture and components
Explore the internal architecture of LLMs, including token embeddings, transformer layers, attention blocks, and output generation.
Start learningTransformer architecture
Learn how transformer networks process sequences using attention mechanisms, positional information, and encoder or decoder architectures.
Start learningAttention mechanism
Understand how attention calculates relationships between tokens and helps neural networks focus on relevant information.
Start learningSelf-attention and multi-head attention
Explore query, key, and value vectors, attention scores, and how multiple attention heads capture different relationships between tokens.
Start learningEncoder and decoder architectures
Compare encoder-only, decoder-only, and encoder-decoder models and understand their architecture and practical applications.
Start learningTokenization and tokenizers
Learn how tokenizers split text into tokens, convert them into token IDs, and prepare input for language models.
Start learningTokens and context windows
Understand tokens, context-window limits, input and output capacity, and their impact on LLM performance and API costs.
Start learningVocabulary and embeddings
Learn how model vocabularies map tokens to numerical IDs and how embedding layers convert these IDs into vector representations.
Start learningWord and text embeddings
Explore numerical representations of words and text, embedding dimensions, semantic relationships, and vector similarity.
Start learningPositional encoding
Understand how positional encoding provides sequence-order information to transformer models and enables them to process token positions.
Start learningPrompt engineering fundamentals
Learn how to design effective prompts using clear instructions, relevant context, examples, constraints, and well-defined objectives.
Start learningSystem prompts and user prompts
Understand the difference between system and user prompts, instruction hierarchy, and how different message roles influence model behaviour.
Start learningZero-shot and few-shot learning
Compare zero-shot and few-shot prompting and learn how examples help language models perform tasks without additional training.
Start learningChain-of-thought prompting
Explore reasoning-oriented prompting approaches for complex tasks and understand their benefits, limitations, and appropriate use cases.
Start learningRole-based prompting
Learn how role-based instructions establish context, define model behaviour, and guide responses toward specific tasks and audiences.
Start learningPrompt templates and reusable prompts
Discover how reusable prompt templates use variables, placeholders, and structured instructions to create consistent AI workflows.
Start learningStructured outputs and JSON responses
Learn how to generate structured JSON responses, define output schemas, enforce formatting requirements, and validate model responses in applications.
Start learningLLM parameters and configuration
Understand important LLM configuration parameters, including context limits, generation settings, token limits, and model-specific options.
Start learningTemperature and sampling
Explore temperature, probability distributions, and sampling strategies that control the randomness and diversity of generated responses.
Start learningTop-K and Top-P sampling
Compare Top-K and Top-P sampling and understand how candidate-token selection influences text generation and response diversity.
Start learningModel training fundamentals
Explore the fundamentals of training language models, including datasets, model parameters, optimization, training stages, and computational requirements.
Start learningPretraining and fine-tuning
Compare large-scale pretraining with task-specific fine-tuning and understand how pretrained models are adapted for specialized applications.
Start learningInstruction tuning
Learn how instruction tuning adapts pretrained language models to understand user instructions and perform tasks more effectively.
Start learningSupervised fine-tuning (SFT)
Understand supervised fine-tuning, instruction datasets, training examples, and how labelled input-output pairs improve model behaviour.
Start learningReinforcement Learning from Human Feedback (RLHF)
Explore reinforcement learning from human feedback, reward models, preference datasets, and techniques for aligning language models with human preferences.
Start learningParameter-efficient fine-tuning (PEFT)
Learn parameter-efficient fine-tuning techniques that adapt large language models while reducing trainable parameters and computational requirements.
Start learningLoRA and QLoRA
Understand LoRA and QLoRA, low-rank adaptation, quantized model training, and efficient customization of large language models.
Start learningModel quantization
Explore model quantization techniques, numerical precision, reduced memory usage, and the trade-offs between inference speed and model quality.
Start learningOpen-source vs closed-source models
Compare open-weight and proprietary language models across customization, hosting, licensing, privacy, cost, and deployment considerations.
Start learningLLM inference and generation
Understand how trained language models generate responses during inference, including decoding, token prediction, batching, and latency considerations.
Start learningLLM APIs and integration
Learn how to integrate language models into applications using APIs, request parameters, authentication, response handling, and error management.
Start learningStreaming LLM responses
Explore streaming techniques that deliver generated tokens incrementally and improve responsiveness in chatbots and interactive AI applications.
Start learningLLM hallucinations
Understand why language models generate unsupported information and explore techniques for identifying, evaluating, and reducing hallucinations.
Start learningLLM limitations and challenges
Explore challenges involving factual accuracy, reasoning, context limitations, training data, bias, privacy, and reliable model behaviour.
Start learningLLM evaluation fundamentals
Learn how to evaluate language models using representative datasets, task-specific metrics, human feedback, safety checks, and application-level testing.
Start learningModel benchmarks and evaluation metrics
Understand model benchmarking, accuracy metrics, perplexity, task-based evaluation, and methods for comparing language model performance.
Start learningResponsible AI and ethical considerations
Explore responsible AI principles, fairness, transparency, privacy, bias mitigation, accountability, and ethical considerations in generative AI systems.
Start learningPractical Generative AI applications
Explore real-world generative AI applications, including intelligent chatbots, document processing, content generation, coding assistants, and business automation.
Start learningPractice & revise
Interview questions
Practice interview questions with answers, key points, and practical examples.
Test your knowledge
Explore 100 questions for this topic, covering concepts, practical examples, and interview scenarios.
Keep learning step by step
Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.
Explore another learning path