Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Generative AI
Rating: 4.8 out of 5(2 ratings)
23 students

Generative AI

From Attention Mechanisms to Building AI Agents
Created byYasir Amir
Last updated 8/2025
English
English [Auto],

What you'll learn

  • Understanding Foundational Concepts in Generative AI
  • Developing Practical Coding Skills
  • Applying Sequence-to-Sequence Models
  • Building basic AI Systems

Course content

4 sections • 16 lectures • 4h 41m total length
  • Introduction38:53

    Explore the evolution and core techniques of generative ai, including gans, vaes, diffusion, and transformers. Compare generative and discriminative models, and preview applications in art, music, storytelling, and 3d visualization.

  • Attention Mechanism in Transformers Part 110:50

    Explore how the attention mechanism overcomes long-range dependency limits of RNNs by enabling parallel processing in transformers, using query, key, value, and scale dot product attention.

  • Attention Mechanism in Transformers Part 235:43

    Explore embeddings and context shifting in transformer word representations. See how attention uses dot product, scale dot product, cosine similarity, and softmax to guide embeddings and prepare keys, queries, values.

  • Attention Mechanism in Transformers Part 3 (Key and Query Matrices)14:09

    Study how keys, queries, and values matrices power transformer attention and yield context-aware token representations. Observe how scale-product attention computes query-key similarities, applies masking, and weighs values to produce outputs.

  • Place bits and pieces together!20:44

    Learn how raw text flows through tokenization, vocabulary lookup, and word embeddings, then via positional encoding and transformer encoders/decoders to produce contextual embeddings, logits, and next-word predictions.

Requirements

  • Python programming at basic level

Description

This course provides an immersive and comprehensive journey into the core technologies that are shaping the future of artificial intelligence. We begin by meticulously exploring the attention mechanism, a revolutionary concept that allows models to weigh the importance of different parts of an input sequence. This foundational understanding will then lead us to transformers and sequence-to-sequence models, where you'll see how attention mechanisms are leveraged to handle complex tasks like machine translation and text summarization with unprecedented accuracy. By the time we conclude this section, you'll have a deep theoretical grasp of how these architectures function and why they have become the industry standard.

The curriculum is not just theoretical; it's intensely practical. You'll gain hands-on experience by working on Python Code using JSON file, a standard for data exchange, and learn to implement Retrieval-Augmented Generation (RAG), a powerful technique that enhances language models with external knowledge. The course culminates in an example where all these skills applied to construct a simple AI agent in Python. This coding based approach ensures you don't just understand the concepts but can also code basic AI systems. By the end of this course, you will have a solid foundation in the basics of both the theory and practice of  AI and intelligent agents.

Section 1, "Introduction," covers the attention mechanism in transformers and how different components fit together. Section 2, "Sequence to Sequence Models," focuses on understanding and using Seq2seq models with attention. The third section, "Coding in Python," includes topics such as coding transformer basics, diving deeper into the attention mechanism with code, and the transformative power of attention in AI models. The final section, "Advanced Topics," explores AI agents, agentic AI, and practical applications like understanding RAG with JSON, and building a chatbot using Langchain and the Gemini API.

Who this course is for:

  • AI Enthusiasts, Professionals and Students