Nền tảng Trí tuệ nhân tạo sinh bằng Python
Một hướng dẫn toàn diện về việc hiểu và triển khai Trí tuệ nhân tạo sinh (Generative AI) và các Mô hình Ngôn ngữ quy mô lớn (LLMs). Khóa học này bao gồm quá trình chuyển đổi từ nền tảng lý thuyết đến phát triển thực tế bằng Python, bao gồm GANs, mô hình khuếch tán, bộ chuyển đổi (transformers), điều chỉnh tinh (fine-tuning), và triển khai sản xuất.
Tổng quan khóa học
📚 Tóm tắt Nội dung
Một hướng dẫn toàn diện về việc hiểu và triển khai Trí tuệ nhân tạo sinh thành (Generative AI) và các Mô hình Ngôn ngữ lớn (LLMs). Khóa học này bao quát quá trình chuyển đổi từ nền tảng lý thuyết sang phát triển thực tế dựa trên Python, bao gồm GANs, các mô hình khuếch tán (diffusion models), bộ chuyển đổi (transformers), điều chỉnh tinh tế (fine-tuning), và triển khai trong môi trường sản xuất.
Chinh phục các nguyên lý cốt lõi và ứng dụng thực tiễn của các LLM hiện đại và kỹ thuật sinh thành với Python.
Tác giả: Carlos Rodriguez
Lời cảm ơn: Xin gửi lời cảm ơn đặc biệt đến vợ anh, Jill, bố mẹ anh, và các nhà đánh giá kỹ thuật Morgan Boyce, Eric Rui, và Samira Shaikh (tác giả phần giới thiệu).
🎯 Mục tiêu Học tập
- Phân biệt giữa các mô hình học máy cổ điển (phân loại) và các mô hình AI sinh thành.
- Nhận diện các kiến trúc nền tảng của AI sinh thành, bao gồm GANs, mô hình khuếch tán (Diffusion models), và Transformers.
- Giải thích vai trò và sự phát triển của các Mô hình Ngôn ngữ lớn (LLMs) trong bức tranh rộng lớn của trí tuệ nhân tạo.
- Phân biệt các đặc điểm độc đáo và các mô hình kiến trúc riêng biệt của GANs, diffusers, và transformers.
- Phân tích những tiến bộ và hạn chế của từng loại mô hình, bao gồm các vấn đề cụ thể như hiện tượng "mất chế độ" (mode collapse) hoặc tốc độ lấy mẫu.
- Triển khai một pipeline Stable Diffusion và đánh giá đầu ra được sinh ra bằng cách sử dụng logits và xác suất dựa trên CLIP.
- Xem xét quá trình phát triển của xử lý ngôn ngữ tự nhiên (NLP) từ các phương pháp đếm ban đầu và RNNs đến các đại diện phân tán hiện đại và học truyền đạt (Transfer Learning).
- Giải thích các cơ chế kỹ thuật của Multi-head Attention (MHA), Self-attention, Masking, và Mạng nơ-ron truyền thẳng (Feed-Forward Network - FFN).
- Triển khai đầy đủ kiến trúc mô hình Transformer, bao gồm token hóa dữ liệu, mã hóa vị trí, và các hàm huấn luyện/làm việc suy luận.
- Chuyển đổi các tính năng thử nghiệm (ví dụ: Google Colab) sang môi trường sẵn sàng sản xuất bằng Docker và VS Code.
Bài học 共 7 课时 · 预计 21.0h
Bài học
Lesson
This lesson explores the concept of the technological Singularity and the exponential growth of AI, while establishing the fundamental distinction between discriminative models that classify data and generative models that synthesize it. Students will learn to analyze the synergy between compute, data, and algorithmic efficiency, as well as the mathematical foundations of probabilistic modeling in high-dimensional spaces.
This lesson explores the three core pillars of generative AI—GANs, diffusion models, and transformers—by analyzing their unique mathematical strategies and architectural trade-offs. Students will learn to differentiate these models based on their training stability, computational efficiency, and specific applications in multimodal synthesis.
This lesson explores the evolution of Natural Language Processing from sparse, count-based methods like TF-IDF to dense, distributed vector representations and recurrent neural architectures. It examines the limitations of RNNs and LSTMs, such as the vanishing gradient problem and the Seq2Seq bottleneck, while establishing the mathematical foundations of the Transformer architecture and self-attention mechanisms.
AI030: Production Engineering and Responsible AI Deployment (Lesson 4) explores the transition from experimental prototyping in notebooks to robust, scalable production systems. Students will learn to implement CI/CD pipelines, ensure model reliability through automated testing, and integrate fairness monitoring to meet ethical and regulatory standards.
This lesson explores the spectrum of model adaptation, comparing the computational efficiency of In-Context Learning with the specialized performance and stability of Parameter-Efficient Fine-Tuning (PEFT) and full fine-tuning. Students will learn to navigate the trade-offs between hardware constraints and model alignment, with a focus on implementing techniques like LoRA to optimize performance in resource-limited environments.
This lesson explores the necessity of domain adaptation for general-purpose LLMs, focusing on techniques like continued pre-training and fine-tuning to align model knowledge with specialized fields. Students will learn to implement parameter-efficient methods like LoRA and develop evaluation frameworks to ensure linguistic accuracy in high-stakes professional environments.
This lesson explores the paradigm shift from resource-heavy model fine-tuning to efficient prompt-based inference and in-context learning. Students will learn to master advanced prompting techniques, such as persona-based conditioning and Chain-of-Thought, to optimize model performance and maintain factual consistency.