Skip to content
Dimitri Montgomery

Section 03 of 07

AI/ML

Models trained, evaluated against held-out data, and shipped where they earn their place.

AI and machine learning work: models that were trained and evaluated against data they never saw, with the evaluation written down as carefully as the model.

1 entry1 shipped

01 / 01 Shipped — Finished, or finished enough that the write-up is about what it does. 2025

Sentiment classifier

Three ways to tell a good movie review from a bad one, and why the two transformers lost to the simplest model until they were allowed to read the ending.

  1. Classifies a review as positive or negative
  2. Explains what the simple model learned
  3. Lets the transformers read the whole review
87.5%
DistilBERT, reading the ending
75.5%
MiniLM, whole review
84.5%
TF-IDF baseline
Open the project : Sentiment classifier