English

AnimatedLLM: Explaining LLMs with Interactive Visualizations

Computation and Language 2026-02-02 v2

Abstract

Large language models (LLMs) are becoming central to natural language processing education, yet materials showing their mechanics are sparse. We present AnimatedLLM, an interactive web application that provides step-by-step visualizations of a Transformer language model. AnimatedLLM runs entirely in the browser, using pre-computed traces of open LLMs applied on manually curated inputs. The application is available at https://animatedllm.github.io, both as a teaching aid and for self-educational purposes.

Keywords

Cite

@article{arxiv.2601.04213,
  title  = {AnimatedLLM: Explaining LLMs with Interactive Visualizations},
  author = {Zdeněk Kasner and Ondřej Dušek},
  journal= {arXiv preprint arXiv:2601.04213},
  year   = {2026}
}

Comments

Accepted to TeachNLP @ EACL 2026