How FastText Uses Subword Units to Fix Word Embedding Limitations
Word embeddings convert words into numerical vectors so machines can compare meanings and use language in machine learning models. Early methods like one-hot encoding were memory-inefficient and could not handle unseen or misspelled words. Dense embeddings such as Word2Vec and GloVe improved on this but still assigned a single vector per word, leaving rare or out-of-vocabulary words unrepresented. FastText, developed by Facebook's AI Research lab, addresses this by breaking words into overlapping character sequences called n-grams and assigning vectors to each piece. By combining these subword vectors, FastText can generate useful representations even for words never seen during training.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in