10 — LLMs

Large language models for economics research.

Lecturer
Date

March 1, 2026

Machines that write.

This module covers large language models for economics: using LLMs via APIs, structured outputs, prompt engineering, and applications including ECB speech classification and AIPNET.

Lecture slides

View fullscreen | Source

Code

Check the course repository for the R scripts.

Key packages: ellmer, torch

Setup

This module requires an API key. Instructions will be provided during the course. See the setup instructions in module 01 for general setup.

Further resources