Lecture 1 · Mon, 12 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Introduction to text as data

What text data is, why it matters for business, and the basic steps for preparing text for analysis

Lecture 2 · Tue, 13 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Bag-of-words, TF-IDF, and cosine similarity

Turning text into numbers: document-term matrices, TF-IDF weighting, and comparing documents with cosine similarity

Lecture 3 · Mon, 19 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Bag-of-words-based methods

Dictionary-based approaches, text regression and classification, and topic modelling

Lecture 4 · Tue, 20 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Learning from prediction 1: n-gram language models

N-grams, character-level language models, and the fundamentals of next-token prediction

Lecture 5 · Mon, 26 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Practical day 1

Hands-on workflows with NLTK, scikit-learn, and Gensim — POS tagging, TF-IDF, and LDA topic models — plus guidance on the assignments

Lecture 6 · Tue, 27 Oct 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Learning from prediction 2: word embeddings

Pointwise mutual information, word embeddings, and what you can do with vector representations of words

Lecture 7 · Mon, 2 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Introduction to LLMs and tokenization

A critical introduction to large language models, and why tokenization shapes everything they can and cannot do

Lecture 8 · Tue, 3 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Attention and transformers

The attention mechanism, the transformer architecture, and why it dominates modern NLP

Lecture 9 · Mon, 9 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

LLM input/output, training, and fine-tuning

How LLMs are specified, estimated, and adapted — pre-training, fine-tuning, and what it means for applied work

Lecture 10 · Tue, 10 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Practical day 2

Hands-on workflows with embeddings and LLMs, plus guidance on the remaining assignments

Lecture 11 · Mon, 16 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Prompt engineering, alignment, and summary

Getting the most out of pre-trained LLMs, how and why models are aligned, and a synthesis of the course

Lecture 12 · Tue, 17 Nov 2026 · Leif Anders Thorsrud & Vegard H. Larsen

Mini-project presentations and feedback

Group presentations of the assignments with questions and feedback

GRA 4164 Text as Data · Fall 2026 · BI Norwegian Business School