Foundations of LLMs is an open-source educational textbook that introduces the fundamental principles, architectures, and techniques behind large language models. Developed by researchers at Zhejiang University, it provides structured explanations of both established methods and emerging AI technologies. The material covers statistical language models, recurrent neural networks, Transformers, and modern language model architectures. Dedicated chapters explore prompt engineering, in-context learning, and chain-of-thought reasoning. Readers also learn parameter-efficient fine-tuning, model editing, and retrieval-augmented generation. The repository includes downloadable textbook chapters, an English edition, diagrams, and collections of relevant academic papers. It serves students, researchers, and developers seeking a systematic understanding of language model development.

Features

  • Comprehensive Large Language Model Textbook
  • Transformer and Neural Network Architecture Coverage
  • Prompt Engineering and Reasoning Techniques
  • Parameter-Efficient Fine-Tuning Methods
  • Model Editing and Retrieval-Augmented Generation
  • Model Editing and Retrieval-Augmented Generation

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Foundations-of-LLMs

Foundations-of-LLMs Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Foundations-of-LLMs!

Additional Project Details

Registered

15 hours ago