2 "Geometry" Posts

How Large Language Models (LLMs) Think: Turning Meaning into Math

Exploring how large language models use linear algebra to create geometric meaning
What You'll Learn
  • How an LLM turns words and tokens into numerical vectors it can process
  • How distance and direction in embedding space can represent relationships in meaning
  • Why linear algebra and geometry are two ways of describing the same internal structure
  • How matrix operations transform information as it moves through a model
  • Why high-dimensional spaces can represent many subtle features of language at once
  • How probability guides a model from its current context toward the next token

From Ice Shows to Algorithms: Cracking the Truck-Packing Problem

Using Python, heuristics, and 3D visualization to tackle a real-world optimization problem
What You'll Learn
  • Why loading a truck efficiently is a difficult 3D optimization problem
  • Why NP-hard problems usually require practical heuristics instead of perfect solutions
  • How box dimensions, orientation, weight, and truck boundaries become constraints in a packing model
  • How a greedy Python algorithm can build a workable packing plan
  • How 3D visualization helps reveal overlaps, wasted space, and placement mistakes
  • How more advanced techniques can improve packing efficiency when simple heuristics are not enough