Skip to content

Glossary: NLP with Transformers

Counterfactual test

Also written: counterfactual

A bias check that changes only a detail that shouldn't matter, such as a customer's name or a country, and confirms the model's output barely moves.

Where the book teaches it

Related terms

Test set