LLM Essentials
Details
Ever wondered how ChatGPT-style models actually work, and how to run one free on your own laptop? This hands-on workshop shows you how LLMs work in practice and how to run them efficiently.
You will learn LLM basics (tokens, context window, temperature), model quantization (FP16, INT8, 4-bit, GGUF), running models locally with LM Studio, response caching, and routing requests between small local and large cloud models.
Everything uses free tools (LM Studio, Gemini or Groq free tier, Python). By the end, you will build a "Smart LLM Gateway" that checks a cache, routes each query to a local or cloud model, and returns the answer.
Session Plan
- 09:45 - 09:57: Introduction + LLM Basics (tokens, context window, temperature)
- 09:57 - 10:15: Model Quantization (FP16 to 4-bit, GGUF, memory needs)
- 10:15 - 10:40: LM Studio Hands-on (run a model locally, start the server, call it from Python)
- 10:40 - 10:55: LLM Caching (exact and semantic cache)
- 10:55 - 11:09: LLM Routing (build the Smart LLM Gateway)
- 11:09 - 11:14: Wrap-up + Q&A
Prerequisites: laptop with 8 GB+ RAM and basic Python. Complete the setup before the session: Setup Guide
