Term
fastText
Meaning
A linear text classifier that represents a text as the average of learned embeddings of its word and n-gram features, then passes that averaged vector through a linear layer and a softmax to predict a class. Its low-rank factorization of the classifier weights keeps training and inference fast when there are many classes.
How papers use it 5 papers
Bag of Tricks for Efficient Text Classification
Use Serves as the proposed model for both sentiment analysis and tag prediction. The first weight matrix works as a lookup table over features, and the second maps the averaged hidden vector to class scores. On the sentiment datasets it is run with 10 hidden units for 5 epochs, with and without bigrams, and it is compared against the n-gram, char-CNN, char-CRNN and VDCNN baselines. On YFCC100M it is run with 50 and 200 hidden units, with and without bigrams, and compared with the frequency baseline and Tagspace. Its training uses multiple CPU threads and stochastic gradient descent with a linearly decaying learning rate.
Text Classification Algorithms: A Survey
Use Examined as one of the three main word embedding methods in the feature extraction section. The paper cites pre-trained FastText vectors for 294 languages, trained on Wikipedia with 300 dimensions and the Skip-gram model using default parameters.
Meaning A word embedding method that represents each word as the set of character n-grams it contains, and learns vectors for these n-grams so that a word can be scored against its context. Because subword pieces are shared between words, it accounts for the internal morphology of words.
GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding
Use Trained to predict entailment labels from the hypothesis alone, on SNLI and on MNLI, to check whether the diagnostic set contains artifacts that a model could exploit. The classifiers reach 32.7% and 36.4% accuracy on the diagnostic data, which is near chance.
Meaning A lightweight supervised text classifier built on word embeddings, trained on labeled text to predict a class label from its input.
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Use Used as the classifier that recalls mathematical web pages from deduplicated Common Crawl. It is trained with OpenWebMath pages as positive examples and random Common Crawl pages as negatives, pages are ranked by its predicted score, and only the top-ranking pages are kept. The classifier is retrained over several data-collection iterations as more positive examples are added.
Meaning A lightweight text classifier that represents text with word and n-gram features and learns from labeled examples quickly, so it can score large collections of documents.
The Pile: An 800GB Dataset of Diverse Text for Language Modeling
Use Used to estimate that the Pile is 97.4% English. The paper treats this as a rough estimate because language identification is unreliable for rare languages, so it draws no firm conclusions about low-resource languages. The same English language classifier is also applied to select English sentences before the profanity analysis.
Meaning A language identification tool that assigns text to a language, so that the share of each language in a corpus can be estimated.