

How Large Language Models Work — A Hands-On Workshop for Software Engineers and Data Scientists
This event explores the natural language processing (NLP) theory behind large language models (LLMs), from the basic problem of representing language to the way modern models generate text and code.
We start with a simple question: how does a computer distinguish a river bank from a bank account? We’ll use this example to explore how words are represented, why context matters, and how a model learns patterns from text. We’ll then connect these ideas to tokenisation, embeddings, and attention in transformers.
We focus on hands-on understanding. In Python, we’ll inspect how a small pretrained model breaks an input into tokens, see which token it predicts next, and change the context to find out how its predictions shift.
One word can have several meanings. By following it from a sentence to a model’s prediction, you’ll see how NLP theory connects to the behaviour of modern LLMs.
Who is this for?
This workshop is for:
Students learning machine learning, NLP, or data science
Software developers who want to understand how LLMs generate text and code
Researchers who want clearer intuition around language modelling and transformers
Engineers and data scientists using LLM libraries or APIs who want to know what happens under the hood
Anyone curious about how language models actually learn
Whether you are preparing for exams, building AI applications, or trying to understand why a model produced a particular answer, this session will give you practical, reusable understanding.
Who is leading the session?
Stelios Sotiriadis is the CEO of Warestack, Associate Professor, and MSc Programme Director at Birkbeck, University of London.
Stelios holds a PhD from the University of Derby, completed a postdoctoral fellowship at the University of Toronto, and has worked with organisations including Huawei, IBM, Autodesk, and multiple startups. He has taught at Birkbeck, Boston University, and the University of Notre Dame since 2018 and co-founded Warestack in 2021.
What we’ll cover
A hands-on, practical introduction to NLP fundamentals and the theory behind large language models.
You will learn:
How early NLP approaches represent text through word counts and short sequences of words, called n-grams
How tokenisation breaks text and code into units a model can process, and how embeddings represent those units as vectors
How attention helps a transformer interpret a token using the surrounding context
How next-token prediction, loss functions, and gradient descent fit together during training
How a trained model generates a response one token at a time, and how temperature changes the range of outputs it produces
How to inspect a model’s predictions in Python and test whether a generated code completion works
We focus on understanding first, tooling second.
Format
A 90-minute workshop session:
NLP and LLM theory, explained visually and intuitively
Live coding and step-by-step examples in Python
Interactive experiments with context and temperature
A guided tutorial using a small language model to complete and test a Python function
Q&A and discussion throughout
Requirements
A laptop (macOS, Linux, or Windows)
Python installed
Comfortable running code and editing scripts
Prerequisites
Fundamental familiarity with programming and basic mathematical concepts such as functions and probability is helpful. No prior experience with NLP or machine learning is necessary.