zyf-ngu/Qmatter
跟着问题学-AI大模型入门系列笔记和代码
What it solves
For people new to AI large models, the hardest part is knowing where to start and how to connect theory with practice. This project solves that by offering a structured, question-driven learning path: each module pairs a PDF note with runnable Python code, so you can read a concept and immediately run it yourself.
How it works
The repository is organized into eight modules, ordered from fundamentals to real-world projects. You start with Python basics and advanced Python, then move through concurrency, PyTorch tensors, classic CV models (LeNet, VGG, ResNet), classic NLP models (Word2Vec, LSTM, Seq2Seq), and then Transformer architecture. The final modules are hands-on: a minimal RAG system (simple_rag) that parses documents, splits text, builds a FAISS vector index, and does hybrid retrieval with reranking; an enhanced RAG version (Qrag); and an intro to Agent concepts. Each module contains docs/ (PDF notes), models/ (model definitions), and train/ (training scripts) where applicable.
Who it’s for
This is aimed at AI large-model beginners who prefer learning by doing. If you want to understand the theory behind Transformers or RAG and also see working code that you can run, modify, and write by hand, this series is designed for you. The accompanying videos and notes are in Chinese, so it suits Chinese-speaking learners.
Highlights
- Question‑driven approach: every topic is framed around real questions like "Why does Transformer use self-attention?"
- Complete learning path: from Python syntax to RAG and Agent practice, covering the full stack.
- Each module includes both PDF notes and runnable Python code for hands-on practice.
- Two RAG implementations: a simple one and an enhanced one with multiple PDF parsers, hybrid retrieval, and reranking.
- Structured file layout: docs/, models/, train/ in each module makes it easy to cross-reference theory and code.
- Encourages active learning: you are advised to type the code yourself, repeat key topics, summarize knowledge, and share your output.
Related
- Project
- Project
- Project
- Project