Quay lại Khóa học
AI010 Nghề nghiệp

Giới thiệu về LLM cho Nhà phát triển

Khóa học này là phiên bản thích nghi dành cho người Trung Quốc của chuỗi ba khóa học về mô hình ngôn ngữ lớn do Andrew Ng và OpenAI cùng nhau phát hành. Khóa học bao gồm kỹ thuật lập trình lời nhắc (Prompt Engineering), xây dựng hệ thống với API ChatGPT, phát triển ứng dụng bằng LangChain và sử dụng LangChain để truy cập dữ liệu riêng tư. Khóa học cung cấp một giới thiệu rõ ràng và dễ tiếp cận về cách tận dụng khả năng của các mô hình ngôn ngữ lớn để xây dựng ứng dụng với các chức năng như tóm tắt, suy luận, chuyển đổi, mở rộng và trò chuyện.

4.8
24.0h
916 học viên
8 lessons
0 lượt thích
Trí tuệ nhân tạo
Bắt đầu học

Tổng quan khóa học

📚 Tóm tắt nội dung

Khóa học này là bản điều chỉnh tiếng Trung của loạt bài học ba phần về Mô hình Ngôn ngữ Lớn (LLM) do Andrew Ng và OpenAI cùng phát triển. Khóa học bao gồm kỹ thuật Prompt Engineering, xây dựng hệ thống dựa trên API ChatGPT, phát triển ứng dụng với LangChain, và sử dụng LangChain để truy cập dữ liệu riêng tư. Khóa học cung cấp một giới thiệu sâu sắc nhưng dễ tiếp cận về việc tận dụng khả năng của LLM để phát triển các ứng dụng có chức năng tóm tắt, suy luận, chuyển đổi, mở rộng và trò chuyện.

Thành thạo kỹ thuật Prompt Engineering và khung LangChain để trở thành nhà phát triển ứng dụng AI trong thời đại mô hình lớn.

🎯 Mục tiêu học tập

  1. Phân biệt giữa LLM cơ sở và LLM được điều chỉnh theo hướng dẫn.
  2. Áp dụng bốn chiến lược cụ thể để viết chỉ dẫn rõ ràng và chính xác (dấu phân cách, đầu ra có cấu trúc, kiểm tra điều kiện, và gợi ý ít ví dụ).
  3. Triển khai các chiến lược giúp mô hình "có thời gian suy nghĩ" bằng cách xác định các bước nhiệm vụ và yêu cầu giải quyết vấn đề độc lập.
  4. Thực hiện Xử lý văn bản có cấu trúc: Tóm tắt và trích xuất thông tin cụ thể từ một hoặc nhiều tài liệu đồng thời kiểm soát độ dài và trọng tâm đầu ra.
  5. Thực hiện Phân tích văn bản tự động: Phân loại cảm xúc, xác định cảm xúc cụ thể, và thực hiện phân loại chủ đề không cần huấn luyện (zero-shot) bằng chỉ dẫn.
  6. Thực hiện Chuyển đổi đa phương thức: Dịch ngôn ngữ, chuyển đổi định dạng dữ liệu (ví dụ: JSON sang HTML), và sửa lỗi ngữ pháp/chính tả theo chương trình.
  7. Phân biệt giữa LLM cơ sở và LLM được điều chỉnh theo hướng dẫn, đồng thời hiểu tác động của việc mã hóa token đến hành vi mô hình.
  8. Triển khai kiến trúc hệ thống có cấu trúc bằng cách sử dụng vai trò tin nhắn System, User và Assistant để xác định tính cách mô hình.
  9. Áp dụng kỹ thuật phân loại và kiểm duyệt để đánh giá đầu vào người dùng về mặt an toàn và định tuyến.
  10. Triển khai Chuỗi Prompt: Phân tích nhiệm vụ phức tạp thành các nhiệm vụ con nhỏ gọn để tăng độ tin cậy và giảm chi phí.

Bài học

Lesson

This lesson introduces the shift from base LLMs to instruction-tuned models, emphasizing the importance of clear, specific prompting and iterative refinement to achieve reliable results. Developers will learn to treat models as literal assistants by using techniques like delimiters, chain-of-thought reasoning, and structured output to improve accuracy and minimize hallucinations.

This lesson introduces the five core prompting primitives—summarizing, inferring, transforming, expanding, and chatbots—that enable developers to build structured AI-driven workflows. You will learn how to manage LLM state, use delimiters for precision, and choose the right techniques to extract data or analyze sentiment effectively.

This lesson explores how LLMs process information through numerical tokens rather than individual characters, explaining why techniques like hyphenation are necessary for tasks requiring granular detail. It also distinguishes between base models, which focus on pattern prediction, and instruction-tuned models, which are optimized through human feedback to act as reliable assistants.

This lesson introduces prompt chaining and task decomposition as superior alternatives to complex, single-prompt workflows. You will learn how to build modular, cost-effective pipelines that improve reliability and debuggability by integrating dynamic data retrieval, safety moderation, and step-by-step logic.

This lesson introduces LangChain as a modular framework for managing LLM interactions, highlighting how abstractions like ChatOpenAI and ChatPromptTemplate help developers overcome the stateless nature of models. You will learn to manage conversation history, configure temperature for deterministic or creative outputs, and use templates to separate logic from content for scalable application development.

This lesson introduces LangChain orchestration, teaching you how to move beyond single prompts by linking components into sequential pipelines and logic-driven router chains. You will learn to build scalable AI applications by mastering modular workflows that connect models, prompts, and external data to handle complex, multi-step tasks.

This lesson explores the Retrieval-Augmented Generation (RAG) pipeline, focusing on how to ingest, split, and vectorize private data to provide LLMs with relevant, up-to-date context. You will learn to use document loaders to standardize various file formats into structured objects and apply effective chunking strategies to ensure semantic meaning is preserved for accurate retrieval.

This lesson explores advanced Retrieval-Augmented Generation (RAG) techniques designed to overcome the limitations of basic semantic search, such as redundancy and context window constraints. You will learn how to implement tools like Maximum Marginal Relevance (MMR), self-querying, and contextual compression to provide the LLM with a more diverse, filtered, and efficient knowledge base.