AI Course: From Neural Networks to Agents | Original
I offer AI mentoring. 50 CNY per lesson (30 minutes each). Subscribe from 1 to 100+ lessons — customize your own path. I am happy to share what I’ve learned.
My Background
- Male, born in 1995, Chinese citizen, resides in Guangzhou. Achieved top 300 in Guangdong NOIP 2011 and solved around 1000 algorithm problems online.
- Previous experience includes LeanCloud, Beijing Square Root, Beyondsoft (outsourced to a Singapore bank), Farben Information (outsourced to a UK-based international bank) and a global IT outsourcing company (outsourced to a UK-based international bank).
- Accumulated 12 years of professional experience. Specializes in mobile (Android, iOS) and full-stack engineering, with 1 year in machine learning/big data.
- Good understanding of HTML, CSS, JavaScript, Vue, React, Angular, iOS/Android, Java, Spring, MySQL, Redis, distributed systems, and cloud platforms (Alibaba Cloud, AWS, Azure).
- Fun Live — GitHub, a WeChat-powered technical live streaming platform for developers focusing on iOS, Android, backend, and AI content. Operated from 2016 to 2017 with around 30k users.
- Personal blog — lzwjava.github.io, an AI-driven one-stop blog system with AI-powered translation and beyond. Operated from 2021 to present, ~60k monthly views (Cloudflare).
- Native in Chinese, proficient in English (IELTS 6.5). Read over 320 books.
- AI Enthusiast — trained small LLMs (nanoGPT) on H200, AMD MI300X and RTX 4070 GPUs, and built projects using OpenRouter and Claude Code (~3B tokens used).
- More details: Resume · Software Portfolio · AI Portfolio · Life Portfolio
Course Philosophy
Inspired by Yin Wang’s CS video course and his CS course principles, I believe in:
- Print variables to understand — not just read about it
- Read real code (nanoGPT, not just textbooks)
- Train small models yourself
- Build systems, not just theory
- Iterate like training an LLM — you don’t get it right the first time
What You’ll Be Able to Do
You’ll understand neural networks deeply, understand transformers, train GPT from scratch, modify nanoGPT, fine-tune models, build AI agents, and build an OpenClaw-like platform.
From math to GPT to AI system. That’s the path.
Who Is This For
- Students from high school to PhD level, any major — both arts and science backgrounds welcome. AI is learnable by anyone with curiosity and persistence.
- Working professionals, including software engineers, IT managers, and other technical roles looking to deepen their AI understanding.
- Anyone interested in AI as a hobby or career pivot.
Course Format
- 50 CNY per lesson (30 minutes each). Subscribe from 1 to 100+ lessons.
- One-to-one mentoring for every student.
- For the first few students, lessons are conducted live via Zoom or Tencent Meeting and recorded. Later students will receive these recorded video lessons instead of real-time meetings.
- Each lesson is approximately 30 minutes.
- You must complete the homework for each lesson before moving on to the next one.
- Between lessons, quick text discussions (under 30 minutes) are available besides sleep time.
- I personally mentor each student to make sure no one gets stuck on unnecessary hurdles.
- Pay per lesson, no long-term commitment.
- Join a WeChat community of 3k+ engineers in China for networking and discussions. Contact via WeChat: lzwjava.
To enroll, send an email to lzwjava@gmail.com with the subject “AI Course Enrollment.” Please include a brief introduction about yourself and your motivation for learning AI. You can also click here to find out more.
Topics We Can Cover
These are example topics. Pick any subset, or go deeper into any area — we customize the course to your needs.
Neural Networks from First Principles
Understand what a neural network really computes. Scalar, vector, matrix computation. Forward propagation step by step. Backpropagation intuition with manual derivatives. Activation functions, loss functions.
Practice: Print every variable (Zen neural style). Implement a 2-layer NN in pure Python. Train on MNIST.
After this, you understand every number inside a neural network.
From Neural Networks to Deep Learning
Gradient descent, learning rate, convergence. Overfitting vs generalization. Regularization, dropout, batch/mini-batch/SGD.
Practice: Train a 3-layer classifier. Visualize the loss curve. Implement dropout manually.
After this, you understand how deep learning actually trains.
PyTorch Minimal Framework
Tensor fundamentals, autograd, nn.Module design, optimizer mechanics, Dataset and DataLoader.
Practice: Rebuild MLP in PyTorch. Train a CIFAR classifier. Inspect gradients.
After this, you can read any PyTorch model.
Language Modeling Fundamentals
Tokenization (BPE), n-gram models, RNN/LSTM intuition, next token prediction, cross-entropy for language.
Practice: Build a character-level language model. Train on tiny Shakespeare. Generate text.
After this, you understand what GPT predicts.
Transformer Architecture
Self-attention, Q K V explained, multi-head attention, positional encoding, feed-forward blocks, residual connections.
Practice: Implement single-head attention. Build a mini transformer. Visualize attention.
After this, you understand the GPT architecture.
nanoGPT Deep Dive
This is the key lesson. nanoGPT training loop, GPT model architecture, weight initialization, data pipeline, sampling.
Practice: Train nanoGPT on a small dataset. Modify model size. Train on a Chinese corpus. Change the tokenizer.
After this, you can train your own GPT.
GPT Training Engineering
GPU memory optimization, gradient accumulation, mixed precision, checkpointing, multi-GPU training, dataset scaling.
Practice: Train a 100M parameter model. Resume training. Fine-tune a model.
After this, you can run real GPT training.
Instruction Tuning and Alignment
SFT fine-tuning, instruction datasets, RLHF overview, reward model concept, LoRA fine-tuning.
Practice: Fine-tune nanoGPT with a chat format dataset. Build an instruction-following model.
After this, you can build a chat model.
LLM Agents (Claude Code / OpenClaw)
Tool calling, agent loop, planning and execution, memory systems, CLI agent design.
Practice: Build a coding agent. Build a CLI automation agent. Build a multi-step reasoning agent.
After this, you can build an OpenClaw-style system.
Personal AI System (Capstone)
Local model deployment, retrieval (RAG), long context memory, multi-agent systems, CLI toolkit integration.
Final project options: Personal coding AI, research assistant, CLI AI toolkit, or autonomous dev agent.
After this, you have your own AI system.
