📘 Generative AI (Gen AI) Notes
1. Introduction to Generative AI
Definition: Generative AI (Gen AI) is a type of artificial intelligence that can create new
content such as text, images, music, videos, or even code.
Unlike traditional AI, which mainly analyzes or classifies, Gen AI generates.
Example: ChatGPT writing essays, DALL·E creating pictures, GitHub Copilot writing code.
2. How Does Gen AI Work?
Generative AI is usually powered by machine learning models, especially deep learning.
Key Concepts:
1. Training Data: Large datasets (books, articles, images, videos, etc.) are used.
2. Neural Networks: Complex models learn patterns from this data.
3. Generation: The AI produces new outputs based on the patterns it learned.
Core Techniques:
Large Language Models (LLMs) → Generate human-like text (e.g., GPT, LLaMA).
Diffusion Models → Generate images by “denoising” random pixels (e.g., Stable Diffusion).
GANs (Generative Adversarial Networks) → Two neural nets (Generator vs Discriminator)
work together to create realistic outputs.