Foundations of Large Language Models

arXiv:2501.09223 · cs.CL, cs.AI, cs.LG · Submitted 2025-01-16 · Read on arXiv

cs.CL, cs.AI, cs.LG

Submitted: 2025-01-16

Updated: 2026-10-08

Comments: Minor corrections

Code: https://github.com/NiuTrans/NLPBook

Project page: https://niutrans.github.io/NLPBook

License: http://creativecommons.org/licenses/by/4.0/

The gist: This is a book about large language models.

Terminology

Abstract

This is a book about large language models. As indicated by the title, it primarily focuses on foundational concepts rather than comprehensive coverage of all cutting-edge technologies. The book is structured into six main chapters, each exploring a key area: pre-training, generative models, prompting, alignment, inference, and reasoning. It is intended for college students, professionals, and practitioners in natural language processing and related fields, and can serve as a reference for anyone interested in large language models.

Sources

Related papers