This chapter focuses on the fundamentals of Large Language Models (LLMs). We start by defining what an LLM is and offer a simplified explanation of its text generation process. You will learn about tokens, the building blocks of text for these models. The chapter concludes by discussing the advantages of running LLMs locally and comparing local operation with cloud-based alternatives. By the end of this chapter, you will have a clear understanding of the core concepts needed before setting up your own local environment.
1.1 What Is a Large Language Model (LLM)?
1.2 A Simple View of How LLMs Work
1.3 Understanding Tokens and Text Generation
1.4 Why Run LLMs Locally?
1.5 Local vs. Cloud-Based LLMs
© 2025 ApX Machine Learning