Open the WaytoAGI knowledge base on Feishu · 100M+ visits, open to everyone →
WaytoAGI

Knowledge Base · Learning paths

WaytoAGI (Way to AGI) Sharing Session: From AI Applications to Core Concepts

This engaging sharing session starts with fascinating real-world AI application examples and then breaks down the core principles of GPT, Diffusion models, and AI Agents in an easy-to-understand way. Through practical Prompt frameworks, explanations of LLM training stages, and live demonstrations, participants will gain a clear learning path toward AGI while avoiding common pitfalls.

WaytoAGIAI sharing sessionGPT explainedDiffusion modelAI Agent tutorial

Translated from Chinese by AI. Spotted an issue? Use the feedback button.

Understanding AI from the Ground Up

  • From Fun Applications to Core Principles

Self-introduction: West Qi AJ, Product Manager, creator of the http://waytoagi.com/ open-source knowledge base.

🎯 Vision and Goals

Achieving Artificial General Intelligence (AGI) may still be a long journey,
but our goal is to help everyone avoid detours in their learning process and empower more people through AI.

Table of Contents

  1. Interesting AI Use Cases
  2. Principles of AI
  3. Diffusion Principles and Examples
  4. What Is an Agent

Interesting AI Use Cases – Introduction

GPT Chat and Role-Playing

  • GPT enables natural language conversations, just like talking with a real person.
    It generally comes in two forms: chat (chat interface) and CharacterAI (role-playing).

Data: Top 13 AI Chatbots




GPT Usage Scenarios – Live Demo Cases

  1. Content Generation: GPT can create articles, stories, poems, lyrics, and more.

  2. Chatbots: GPT can serve as the backend for chatbots, delivering natural conversational experiences.
    Demo: “Looks like English teachers are about to lose their jobs… This AI is insanely good” – Bilibili

  3. Question-Answering Systems: GPT can power Q&A systems, providing users with accurate answers.

  4. Text Summarization: GPT can generate summaries or overviews of text.

  5. Machine Translation: Although GPT was not specifically designed for translation, it performs remarkably well in this area.

  6. Group Chat Summarization: Practice: Group Summary Tool

  7. Code Generation: GPT-3 and its successors have proven capable of generating code snippets and even helping developers solve programming problems.

  8. Education: GPT can be used in education to answer students’ questions or provide learning materials.

  9. Browser Extensions: WebPilot

  10. PDF Chat: Demo at www.chatpdf.com

  1. PPT Generation: Office Productivity: Efficiently Create PPTs

  2. Audio & Video Transcription and Summarization: https://bibigpt.co/r/AJ

  3. Podcast Summarization: https://podwise.xyz/dashboard/trending

  4. Mind Map Generation: https://xmind.ai/editor/


Prompt

  • Everything ultimately comes down to this one word.

  • Prompt: A carefully crafted instruction that enables GPT to generate specific, targeted content.

Prompt Engineering Frameworks

Recommended Prompt-Related Websites

📊 This section contains embedded Feishu content (tables, whiteboards, etc.). View the full version in the Feishu Knowledge Base

Learning to Write Prompts Yourself

Table of Contents: Best Practices 🔥

Li Jigang et al. — Prompt Best Practices

Advanced Techniques:

Chen Caimao: How to Use GPT to Write a Full-Length Sci-Fi Novel? Using Divide-and-Conquer to Tackle Complex Tasks

Liu Hai: Latest Findings from Vertical Prompt Research — Pseudocode Prompting

Chen Caimao: GPT-Driven Life Restart Simulator Game — Experience Infinite Variations of Multiple Lifetimes (Open Source)

4: More Applications of Large Language Models

LLM Principles – Introduction

  • Now that we’ve explored AI applications, let’s dive deeper into the principles behind them.


What GPT Stands For

  • Generative Pre-trained Transformer

  • These three papers are absolute must-read classics:

  1. Pre-training

    1. The pre-training phase begins. This stage is particularly special in the diagram, and the chart is not drawn to scale, because this is where essentially all the computational work happens. It accounts for 99% of the training compute time and floating-point operations.
    • Explanation: This is the foundational training phase of the model. The model is trained in an unsupervised manner on massive amounts of text data, learning the basic structures and patterns of language.
    • Analogy: It’s like a young elementary school student just starting school. They begin learning from zero, mastering basic reading, writing, and arithmetic. At this stage, the student is mainly imitating and absorbing foundational knowledge.
  2. Supervised Fine-tuning (SFT)

    • Explanation: In this stage, the model is trained on labeled data to adapt to specific tasks.
    • Analogy: It’s like a middle school student deepening their studies in more advanced subjects such as physics, chemistry, and history. At this stage, the student begins purposeful learning and starts applying the foundational knowledge they previously acquired.
  3. Reward Modeling

    • Explanation: In this stage, the model learns how to adjust its outputs based on given feedback.
    • Analogy: It’s like a high school student preparing for college entrance exams, adjusting their study strategies according to mock exam results and teacher feedback. They begin to understand which learning methods work and which need improvement.
  4. Reinforcement Learning (RL)

    • Explanation: In this stage, the model is further optimized based on the previously built reward model.
    • Analogy: It’s like a university student who not only studies specialized courses but also engages in hands-on practice and research. Through real-world experience and feedback, they continuously refine their strategies to achieve better research outcomes and practical results. They must learn both inside and outside the classroom—participating in various extracurricular activities and competitions—constantly adjusting their approach based on feedback and experience to reach higher levels of performance.

Principle: Predicting the Next Token

The core task of GPT is to predict the next token in a text sequence.

Glossary

The explanation of vector databases is excellent — it walks through the concepts from features to vectors, then to classification and search algorithms in a clear and engaging way.

Vector database technology really benefits from video explanations. Highly recommended.

Available in two parts:

https://waytoagi.feishu.cn/record/SHD3rHa96e8vvDcX6b4c0chunIe

Notable People You Should Know

🎓 100 AI Leaders

🌐 42 High-Quality Chinese Information Sources

🌐 71 High-Quality International Information Sources

AI Image Generation: Diffusion Principle – Introduction

  • Diffusion is another important AI technology. Let’s understand how it works.


Noise


Diffusion Examples

  • Diffusion application examples

  • Midjourney prompt-to-image generation demo

markdown
3d, round crystal mooncake, translucent, high angle, orange gradient melt, orange gradient background, pastel colors 
markdown
Food photography, real, glass mooncake, close-up

We regularly host competitions. You are welcome to participate.

Season 3: “Unsettling AI”

Prompt Websites

📊 This section contains embedded Feishu content (tables, whiteboards, etc.). View the full version in the WaytoAGI (Way to AGI) knowledge base

Must-Follow AI Art Bloggers

Rankings are not in any particular order! Continuously updated.

📊 This section contains embedded Feishu content (tables, whiteboards, etc.). View the full version in the Feishu Knowledge Base

Getting Started – Start Here

Video Tutorials:

Stable Diffusion Beginner Video Tutorial

🔥 Course: 100+ Hours of Blood, Sweat & Tears – Stable Diffusion Zero-to-Hero Beginner Bible

Written Tutorials:

Ultra-Detailed Stable Diffusion Tutorial: From Zero to One – Beginner to Advanced

White Horse Youth

What Is an Agent?

  • An Agent is an AI entity that performs specific tasks.

Agent (AI Agent) = A large language model (LLM) that has been given goals or tasks and can run iteratively. This is fundamentally different from the “usual” way we interact with LLMs in tools like ChatGPT. In ChatGPT, you ask a question and receive a single answer. An Agent, on the other hand, has a complex workflow where the model can essentially talk to itself without requiring a human to drive every single interaction.

Reference Article:

https://logankilpatrick.medium.com/what-are-gpt-agents-a-deep-dive-into-the-ai-interface-of-the-future-3c376dcb0824

What Can It Do?

Most Famous Example:

Stanford 25-Person Virtual Town

https://waytoagi.feishu.cn/record/1sfvuej0sATQfbO6zbeEAWk02

Lilian Weng (Head of Applied AI Research at OpenAI) published a blog post that serves as the most comprehensive and high-quality literature review in the AI Agent field to date. She defines Agents as a combination of LLM + Memory + Planning Skills + Tool Use. The LLM acts as the core “brain,” while Memory, Planning Skills, and Tool Use are the three key components that enable the Agent system. In the article, she provides a detailed breakdown and explanation of the implementation paths for each module.

As of today, the toolbox for building AI Agents is relatively mature, but it still faces several limitations, such as context length constraints, long-term planning and task decomposition, and the stability of LLM capabilities.

https://lilianweng.github.io/posts/2023-06-23-agent/

How Is It Different from Normal Mode?

Current State of Agents

  • Image: Examples of Modern Agent Applications

  • Modern Agents have been widely applied in games, robotics, and many other fields.

Digital Humans

AI Virtual Digital Human Introduction

Virtual digital humans are virtual characters created through various technologies that possess multiple human-like traits, including appearance, behavior, personality, and more.

From an application perspective, virtual digital humans can be divided into three major categories: service-oriented, performance-oriented, and identity-oriented.

  • Service-oriented virtual digital humans, such as virtual anchors, virtual assistants, virtual teachers, virtual customer service agents, and virtual doctors, primarily provide various services to the physical world.

  • Performance-oriented virtual digital humans, such as virtual idols, are mainly used in entertainment, film, and television scenarios — for example, virtual idol concerts.

  • Identity-oriented virtual digital humans are digital avatars of real people from the physical world entering the virtual realm. In the metaverse, digital avatars have vast application scenarios. The industry is still maturing, representing significant growth potential in the digital human market.

📊 Feishu embedded content (table/whiteboard, etc.) is displayed here. View the full version in the Feishu knowledge base

TeKan Technology Digital Human Product (Anchor Bao) Introduction

Homework

  • [ ] Reading: 5 foundational articles

📊 Feishu embedded content (table/whiteboard, etc.) is displayed here. View the full version in the Feishu knowledge base

Closing

  • Thank you all for listening! I hope everyone now has a deeper understanding of AI.