AI engineering glossary · NLP embeddings

What is fastText?

FastText: A word-embedding library that represents each word as the sum of vectors for its character n-grams. It can produce a vector for words never seen in training and copes well with spelling variants and rich word forms.

Level: intermediateTopic: NLP embeddings

FastText: an example

FastText builds a vector for the unseen word "chaiwala" from pieces like "cha", "hai" and "iwa".

Related terms

More NLP embeddings terms

Where you learn it

FastText is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.