Deep learning basics: how a model learns a function from data
Neurons, layers, loss, gradients and backpropagation. Teach a small network XOR and see, briefly, how deep learning learns.
Implementation guides, design thinking and troubleshooting. Find them by context and code.
Neurons, layers, loss, gradients and backpropagation. Teach a small network XOR and see, briefly, how deep learning learns.
Tokens, probabilities, temperature and the context window. Run a toy model to see how an LLM builds an answer, and why it gets things wrong.
The Transformer is what computes next-token probabilities inside an LLM. See its overall structure, and compute its core, attention, in a small piece of code.
Cloud APIs and open models, size, MoE, thinking, multimodal and roles. A brief map of how to sort the many LLM models and how to pick one.
What a local LLM is and how it differs from a cloud API. Estimate memory, understand quantization, run a model with Ollama, and know where it fits.
How to size the memory beyond the weights (the KV cache), split a model across GPUs, handle MoE, serve several users, and choose a serving tool.
Split documents, search for the relevant parts, and hand them to a local LLM to answer. Build a question-answering system for internal documents in dependency-free Python.
Turn document Q&A (RAG) into a production system many people use. Incremental ingestion, permission filtering, better retrieval, evaluation and operations.
Even without a GPU in your own PC, Google Colab's free GPU can run an LLM. Two ways to run one (Ollama and Transformers), what you may use it for, what is prohibited, and how to size the memory.