Full book is accessible on stanford.edu . This chapter explains how LLMs work. The full book is on the topic of Natural Language Processing.