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.
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
- Interesting AI Use Cases
- Principles of AI
- Diffusion Principles and Examples
- What Is an Agent
Interesting AI Use Cases – Introduction
- Let’s start with some fascinating AI statistics and real-world examples to see how AI is being applied in everyday life.
- Top 50 Generative AI Consumer Apps in the First Half of 2023 – published by a16z
- Top 50 Generative AI Consumer Apps in the First Half of 2023 – published by a16z
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
-
Content Generation: GPT can create articles, stories, poems, lyrics, and more.
-
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 -
Question-Answering Systems: GPT can power Q&A systems, providing users with accurate answers.
-
Text Summarization: GPT can generate summaries or overviews of text.
-
Machine Translation: Although GPT was not specifically designed for translation, it performs remarkably well in this area.
-
Group Chat Summarization: Practice: Group Summary Tool
-
Code Generation: GPT-3 and its successors have proven capable of generating code snippets and even helping developers solve programming problems.
-
Education: GPT can be used in education to answer students’ questions or provide learning materials.
-
Browser Extensions: WebPilot
-
PDF Chat: Demo at www.chatpdf.com
-
PPT Generation: Office Productivity: Efficiently Create PPTs
-
Audio & Video Transcription and Summarization: https://bibigpt.co/r/AJ
-
Podcast Summarization: https://podwise.xyz/dashboard/trending
-
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:
Liu Hai: Latest Findings from Vertical Prompt Research — Pseudocode Prompting
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:
-
Pre-training
- 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.
-
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.
-
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.
-
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.
-
Must-read article: What Is ChatGPT Doing... and Why Does It Work?
-
Original author: Stephen Wolfram
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
🌐 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 simulates the data generation process by adding noise.
Diffusion Examples
-
Diffusion application examples
-
Midjourney prompt-to-image generation demo
3d, round crystal mooncake, translucent, high angle, orange gradient melt, orange gradient background, pastel colors
Food photography, real, glass mooncake, close-up
-
Controllable image generation with Stable Diffusion
-
Case studies:
We regularly host competitions. You are welcome to participate.
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
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:
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
[ ] Practice: Try writing structured prompts or refer to Li Jigang et al.’s Prompt Best Practices
[ ] Practice: AI image generation — create an image that expresses the Mid-Autumn Festival
[ ] Hands-on: 3.1 Application: How AI Can Make Me More Powerful — find some cases here and try them out
[ ] Data: AI Product Leaderboard Database → AI Product Leaderboard
[ ] Reading: Read the WaytoAGI (Way to AGI) knowledge base and follow Xiaohu’s Twitter for the latest updates: http://waytoagi.com/xiaohu
[ ] Exploration: Browse some generative video examples for inspiration. If possible, try creating a video yourself.
Closing
- Thank you all for listening! I hope everyone now has a deeper understanding of AI.