Bag of Tricks for Efficient Text Classification
Armand Joulin, Edouard Grave, Piotr Bojanowski, Tomas Mikolov

TL;DR
This paper presents fastText, a simple and efficient text classification method that achieves comparable accuracy to deep learning models while being significantly faster to train and evaluate, enabling large-scale applications.
Contribution
The paper introduces fastText, a novel baseline for text classification that is both fast and accurate, outperforming many existing methods in speed and scalability.
Findings
fastText matches deep learning accuracy
train on over one billion words in under ten minutes
classify half a million sentences in less than a minute
Abstract
This paper explores a simple and efficient baseline for text classification. Our experiments show that our fast text classifier fastText is often on par with deep learning classifiers in terms of accuracy, and many orders of magnitude faster for training and evaluation. We can train fastText on more than one billion words in less than ten minutes using a standard multicore~CPU, and classify half a million sentences among~312K classes in less than a minute.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗julien-c/fasttext-language-idmodel· 2.7k dl· ♡ 42.7k dl♡ 4
- 🤗facebook/fasttext-language-identificationmodel· 305k dl· ♡ 258305k dl♡ 258
- 🤗facebook/fasttext-en-vectorsmodel· 451 dl· ♡ 18451 dl♡ 18
- 🤗facebook/fasttext-ko-vectorsmodel· 19 dl· ♡ 1019 dl♡ 10
- 🤗facebook/fasttext-af-vectorsmodel· 2 dl2 dl
- 🤗facebook/fasttext-sq-vectorsmodel· 9 dl· ♡ 19 dl♡ 1
- 🤗facebook/fasttext-als-vectorsmodel· 2 dl2 dl
- 🤗facebook/fasttext-am-vectorsmodel· 2 dl2 dl
- 🤗facebook/fasttext-ar-vectorsmodel· 9 dl· ♡ 69 dl♡ 6
- 🤗facebook/fasttext-an-vectorsmodel· 3 dl3 dl
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
