Skip to content

Glossary: NLP with Transformers

Bag of words

Also written: bag-of-words

A text representation that counts which words appear and ignores their order. It is the standard baseline for text, as in TF-IDF.

Where the book teaches it

Related terms

TF-IDFBaseline