Generative AI tutorials and worked examples

Build reliable LLM workflows with retrieval, validation and evaluation grounded in inspectable examples.

Tokens and context

Measure formatted inputs with the model's own tokenizer.

LLM evaluation

Define tasks, frozen questions and component-level scoring.

Model adaptation

Compare parameter updates on a declared task and budget.

Diffusion

Connect forward noising and reverse inference through checked distributions.

Retrieval and RAG

All on this topic

Check whether the system finds the evidence required to answer.

LLM application workflows

All on this topic

Validate outputs and handle failures at application boundaries.