Tag: Python
-

Tool Calling: How LLMs Use Calculators, Search, and APIs
Learn how LLMs use tools — from calculators to search APIs — and how the model requests actions…
-

Building a Chat Harness: From Model to Product
Build a chat harness with conversation history, system prompts, and chat templates — the missing piece between a…
-

Real Models: Running GPT-2 Locally
Run real pre-trained models (GPT-2) locally using HuggingFace. Understand the difference between a model and a product.
-

Text Generation: From Logits to Words
Explore text generation strategies: greedy decoding, temperature sampling, top-k, and top-p (nucleus) sampling.
-

Building a Transformer From Scratch
Assemble embeddings, attention, and feed-forward layers into a complete decoder-only transformer (like GPT).
-

Tokenization: How LLMs See Text
Learn how LLMs split text into tokens using Byte-Pair Encoding (BPE), the algorithm behind GPT-2, GPT-3, and GPT-4.
-

Your First Language Model
Build a working language model from scratch using nothing but Python and a frequency table. No neural networks…
Categories
Tag Cloud
.net algorithms angular api Array arrays async asynchronous basic-concepts big o blazor c# classes code components containers control-structures csharp data structures Deep Learning dictionaries docker dom dotnet framework functions guide javascript json leetcode linq lists LLM loops methods Natural Language Processing npm object oriented programming oop operators promisses Python tutorial variables web framework
