ChinaLordog/dive-into-llms
《动手学大模型Dive into LLMs》系列编程实践教程
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#10 Repository Của Ngày
#9 Repository Của Ngày
#8 Repository Của Tháng
🧠 Dive into LLMs: Hands-on Large Model Programming
A free, practical guide to mastering large language models, from basic prompting to advanced safety alignment and agent development.
"Dive into LLMs" is a free, open-source programming tutorial series developed by Shanghai Jiao Tong University's NLP and AI security courses. Designed for students and developers, it provides a practical pathway to understanding large language models through Jupyter notebooks, slides, and code examples. The series covers the entire lifecycle of LLM development, from basic prompting to advanced safety techniques.
✨ Highlights
- Fine-tuning and Deployment: Guides on selecting pre-trained models, fine-tuning them for specific tasks, and deploying them as functional demos.
- Prompt Learning and Chain of Thought: Techniques for effective API calling and improving reasoning capabilities through structured prompting.
- Knowledge Editing: Methods for manipulating specific knowledge stored within language models and verifying the edits.
- Mathematical Reasoning: Practical approaches to distilling and training compact, reasoning-capable models like mini-R1.
- Model Watermarking and Steganography: Techniques for embedding invisible watermarks and steganographic messages into model-generated text.
- Jailbreak Attacks and Safety Alignment: Explorations of adversarial attacks on LLMs, agent security risks, and RLHF-based safety alignment using PPO.
💡 Why it matters
This tutorial stands out for its practical, code-first approach to complex LLM topics. Instead of focusing solely on theory, it provides runnable Jupyter notebooks that let learners experiment immediately. The inclusion of advanced topics like steganography, GUI agents, and safety alignment makes it a comprehensive resource for anyone looking to build, secure, and deploy large language models.
#LLM #AI #OpenSource #Jupyter #TiniX