TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

LLAMA.TTF

fuglede.github.io3 min read

Summary from the TLDR newsletter

llama.ttf is a font file, large language model, and inference engine for that model. Harfbuzz, a font shaping engine, has a Wasm shaper that allows arbitrary code to be used to shape text. This code can be anything - so llama.ttf uses an entire LLM inference engine with trained parameters bundled inside. The result is a font that can generate text locally in any Wasm-enabled Harfbuzz-based application. A video demonstration is available.